FAQ
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.

Search Discussions

  • John Armstrong at Jul 19, 2011 at 7:52 pm

    On Tue, 19 Jul 2011 20:47:31 +0100, Kobina Kwarko 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?
  • Kobina Kwarko at Jul 19, 2011 at 8:03 pm
    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 wrote:

    On Tue, 19 Jul 2011 20:47:31 +0100, Kobina Kwarko
    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?
  • Jeff Schmitz at Jul 19, 2011 at 7:55 pm
    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
    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.
  • Kobina Kwarko at Jul 19, 2011 at 8:08 pm
    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, 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
    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedJul 19, '11 at 7:48p
activeJul 19, '11 at 8:08p
posts5
users3
websitehadoop.apache.org...
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase