Your SSH isn't setup properly
Setup passphraseless ssh
Now check that you can ssh to the localhost without a passphrase:
$ ssh localhost
If you cannot ssh to localhost without a passphrase, execute the
$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
Format a new distributed-filesystem:
$ bin/hadoop namenode -format
Start The hadoop daemons:
From: Kobina Kwarko
Sent: Tuesday, July 19, 2011 2:48 PM
Subject: localhost permission denied
Please any assistance?? I am using Hadoop for a school project and
to install it on two computers testing with the wordcount example.
after stopping Hadoop and restarting the computers (Ubuntu Server 10.10)
am getting the following error:
root@localhost's password: localhost: Permission denied, please try
If I enter the administrative password the same message comes again
preventing me from starting Hadoop.
What am I getting wrong? Has anyone encountered such error before?
I'm using Hadoop 0.20.203.
thanks in advance.