stupid shell tricks with apache accumulo
TRANSCRIPT
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
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
4
http://en.wikipedia.org/wiki/File:Bubalus_mindorensis_by_Gregg_Yan_01.jpg
New Shell Features
5
• Password Indirection
• Command Interruption
• History Search/Expansion
• Provide Extensions
http://www.flickr.com/photos/cygnus921/2581020296/
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
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/
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
9
10
Thank You! Mike Drob, Cloudera
@mikhaildrob
(p.s. we’re hiring)