localhost permission denied

2011-07-19 Thread Kobina Kwarko
Hello,

Please any assistance?? I am using Hadoop for a school project and managed
to install it on two computers testing with the wordcount example. However,
after stopping Hadoop and restarting the computers (Ubuntu Server 10.10) I
am getting the following error:

root@localhost's password: localhost: Permission denied, please try again.

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.

Kobina.


Re: localhost permission denied

2011-07-19 Thread John Armstrong
On Tue, 19 Jul 2011 20:47:31 +0100, Kobina Kwarko
kobina.kwa...@gmail.com
wrote:
 Hello,
 
 Please any assistance?? I am using Hadoop for a school project and
managed
 to install it on two computers testing with the wordcount example.
However,
 after stopping Hadoop and restarting the computers (Ubuntu Server 10.10)
I
 am getting the following error:
 
 root@localhost's password: localhost: Permission denied, please try
again.

Did you set up passwordless ssh for the accounts using hadoop?  And why
are you running hadoop as root?


RE: localhost permission denied

2011-07-19 Thread Jeff.Schmitz
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
following commands:
$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
$ cat ~/.ssh/id_dsa.pub  ~/.ssh/authorized_keys
Execution

Format a new distributed-filesystem:
$ bin/hadoop namenode -format

Start The hadoop daemons:
$ bin/start-all.sh

http://hadoop.apache.org/common/docs/r0.17.0/quickstart.html#Setup+passp
hraseless

cheers - 

JGS




-Original Message-
From: Kobina Kwarko [mailto:kobina.kwa...@gmail.com] 
Sent: Tuesday, July 19, 2011 2:48 PM
To: common-user@hadoop.apache.org
Subject: localhost permission denied

Hello,

Please any assistance?? I am using Hadoop for a school project and
managed
to install it on two computers testing with the wordcount example.
However,
after stopping Hadoop and restarting the computers (Ubuntu Server 10.10)
I
am getting the following error:

root@localhost's password: localhost: Permission denied, please try
again.

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.

Kobina.



Re: localhost permission denied

2011-07-19 Thread Kobina Kwarko
That is the strangest part, I never set it up as as root, this root just
came with the error. I have a dedicated hadoop user that I'm using, it
worked fine the first time and I tested it with the word count example which
produced the expected result but when I restarted the computers this error
came.

And yes, I used empty password for the ssh as shown on Michael Noll's single
hadoop setup page.


On 19 July 2011 20:52, John Armstrong john.armstr...@ccri.com wrote:

 On Tue, 19 Jul 2011 20:47:31 +0100, Kobina Kwarko
 kobina.kwa...@gmail.com
 wrote:
  Hello,
 
  Please any assistance?? I am using Hadoop for a school project and
 managed
  to install it on two computers testing with the wordcount example.
 However,
  after stopping Hadoop and restarting the computers (Ubuntu Server 10.10)
 I
  am getting the following error:
 
  root@localhost's password: localhost: Permission denied, please try
 again.

 Did you set up passwordless ssh for the accounts using hadoop?  And why
 are you running hadoop as root?



Re: localhost permission denied

2011-07-19 Thread Kobina Kwarko
I can ssh into locahost, even the hadoop user can ssh into localhost without
any error when I try starting hadoop it then that error comes.

On 19 July 2011 20:54, jeff.schm...@shell.com wrote:

 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
 following commands:
 $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
 $ cat ~/.ssh/id_dsa.pub  ~/.ssh/authorized_keys
 Execution

 Format a new distributed-filesystem:
 $ bin/hadoop namenode -format

 Start The hadoop daemons:
 $ bin/start-all.sh

 http://hadoop.apache.org/common/docs/r0.17.0/quickstart.html#Setup+passp
 hraseless

 cheers -

 JGS




 -Original Message-
 From: Kobina Kwarko [mailto:kobina.kwa...@gmail.com]
 Sent: Tuesday, July 19, 2011 2:48 PM
 To: common-user@hadoop.apache.org
 Subject: localhost permission denied

 Hello,

 Please any assistance?? I am using Hadoop for a school project and
 managed
 to install it on two computers testing with the wordcount example.
 However,
 after stopping Hadoop and restarting the computers (Ubuntu Server 10.10)
 I
 am getting the following error:

 root@localhost's password: localhost: Permission denied, please try
 again.

 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.

 Kobina.