stupid shell tricks with apache accumulo

10
1 Stupid Shell Tricks With Apache Accumulo Mike Drob [email protected] @mikhaildrob

Upload: cloudera-inc

Post on 19-Aug-2015

999 views

Category:

Software


5 download

TRANSCRIPT

Page 1: Stupid Shell Tricks with Apache Accumulo

1

Stupid Shell Tricks With Apache Accumulo

Mike Drob

[email protected]

@mikhaildrob

Page 2: Stupid Shell Tricks with Apache Accumulo

About Mike

2

• Dev at Cloudera (~ 6 months)

• Accumulo Committer (~ 1 year)

• LEGO® Engineer (~ 20 years)

http://upload.wikimedia.org/wikipedia/commons/0/00/LEGO_Minifigure_skating_through_town.jpg

Page 3: Stupid Shell Tricks with Apache Accumulo

Survey

3

• Who knows…

• Who this guy is?

• That 1.6.0 is released!

• Who has…

• Used Accumulo?

• Used the Shell?

http://en.wikipedia.org/wiki/File:Concentration_Hugh_Downs_1961.JPG

Page 4: Stupid Shell Tricks with Apache Accumulo

4

http://en.wikipedia.org/wiki/File:Bubalus_mindorensis_by_Gregg_Yan_01.jpg

Page 5: Stupid Shell Tricks with Apache Accumulo

New Shell Features

5

• Password Indirection

• Command Interruption

• History Search/Expansion

• Provide Extensions

http://www.flickr.com/photos/cygnus921/2581020296/

Page 6: Stupid Shell Tricks with Apache Accumulo

Password Indirection

6

• Providing password on command line is BAD

• …but typing long passwords is hard.

• Exposed to ps and other tools

• Solution: provide alternate sources

• File on disk

• Environment Variable

• Custom Tokens

Page 7: Stupid Shell Tricks with Apache Accumulo

Command Interruption

7

• Long running commands are a pain.

• Ctrl-C used to kill the whole shell…

• Now it just kills the current command!

https://www.flickr.com/photos/smaedli/3271558744/

Page 8: Stupid Shell Tricks with Apache Accumulo

History Search/Expansion

8

• Many bash-similarities

• Ctrl-R to search history

• Use ! To expand commands

http://en.wikipedia.org/wiki/File:Trilobite_Ordovicien_8127.jpg

Page 9: Stupid Shell Tricks with Apache Accumulo

9

Page 10: Stupid Shell Tricks with Apache Accumulo

10

Thank You! Mike Drob, Cloudera

@mikhaildrob

(p.s. we’re hiring)