Stupid Shell Tricks with Apache Accumulo

1,405 views

Published on

Published in: Software, Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,405
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
14
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Stupid Shell Tricks with Apache Accumulo

  1. 1. 1 Stupid Shell Tricks With Apache Accumulo Mike Drob madrob@cloudera.com @mikhaildrob
  2. 2. 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
  3. 3. 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. 4. 4 http://en.wikipedia.org/wiki/File:Bubalus_mindorensis_by_Gregg_Yan_01.jpg
  5. 5. New Shell Features 5 • Password Indirection • Command Interruption • History Search/Expansion • Provide Extensions http://www.flickr.com/photos/cygnus921/2581020296/
  6. 6. 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
  7. 7. 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/
  8. 8. 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. 9. 9
  10. 10. 10 Thank You! Mike Drob, Cloudera @mikhaildrob (p.s. we’re hiring)

×