i am using redhat linux 4.1.2 When i try to start hadoop using the below command it asks for root@localhost password. I don’t understand what password to enter here.
sreenath@sreenath-pc# sudo -i [root@sreenath-pc hadoop-1.1.1]#
bin/start-all.sh Warning: $HADOOP_HOME is deprecated.starting namenode, logging to
/opt/hadoop-1.1.1/libexec/../logs/hadoop-root-namenode-sreenath-pc
.out root@localhost’s password: root@localhost’s password: localhost:
Permission denied, please try again.[1]+ Stopped bin/start-all.sh
I have given the current user “sreenath” password
Your SSH isn’t setup properly
Setup passphraseless ssh
Now check that you can ssh to the localhost without a passphrase:
If you cannot ssh to localhost without a passphrase, execute the
following commands:
Execution
Format a new distributed-filesystem:
Start The hadoop daemons:
http://hadoop.apache.org/common/docs/r0.17.0/quickstart.html#Setup+passphraseless
or
Refer Micheal Noll’s link for running Hadoop on your machine.