hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alo alt <wget.n...@googlemail.com>
Subject Re: The Common Account for Hadoop
Date Mon, 06 Feb 2012 10:19:37 GMT
check the rights of .ssh/authorized_keys on the hosts, have to be only read- and writable for
the user (including directory)
Be sure you copied the right key without line-breaks and fragments.  If you have a lot of
boxes you could use BCFG2:

- Alex 

Alexander Lorenz

On Feb 6, 2012, at 10:55 AM, Bing Li wrote:

> Dear all,
> I am just starting to learn Hadoop. According to the book, Hadoop in
> Action, a common account for each server (masters/slaves) must be created.
> Moreover, I need to create a public/private rsa key pair as follows.
>    ssh-keygen -t rsa
> Then, id_rsa and id_rsa.pub are put under $HOME/.ssh.
> After that, the public key is distributed to other nodes and saved in
> @HOME/.ssh/authorized_keys.
> According to the book (Page 27), I can login in a remote target with the
> following command.
>    ssh target (I typed IP address here)
> However, according to the book, no password is required to sign in the
> target. On my machine, it is required to type password each time.
> Any affects for my future to configure Hadoop? What's wrong with my work?
> Thanks so much!
> Bing

View raw message