Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Shell Commands on Hadoop

 
Geetha Gubendran
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to explore the features of Hadoop concepts and also planning to do Hadoop Developer and admin exam. So I downloaded Hortonworks Sandbox and doing the examples. I am doing everything through GUI. I want to explore the shell commands as well. I dont know how to ssh. Any suggestions are greatly appreciated.

Thanks,
Geetha
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the default set-up for the sandbox allows SSH connections as "root" without a keyfile, which is horribly insecure but gets you onto the Linux VM. You need the IP address of your sandbox VM. You should be able to get this from your browser-based Hue interface.

Then connect to the VM from your host command line e.g. if your sandbox VM has IP address 192.168.1.32, you would do:


The password is "hadoop".

I think there are instructions for this on one of your local sandbox pages as well (via port 8888 ?).

 
GeethGubi Gubendran
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Chris. I am just queried on where exactly to type in ssh command
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GeethGubi Gubendran wrote:Thanks Chris. I am just queried on where exactly to type in ssh command

If your host machine is Linux, then you can just use your Linux terminal command line.

If you're on Windows, you'll need a suitable SSH client e.g. PuTTY is a popular choice.
 
Geetha Gubendran
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Chris.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic