Hi Starry,

What is the content of your 'slaves' file in the hadoop/conf directory of your 
master node?
It should say something like:

localhost
us...@server2
us...@server3
us...@server4

This should let the start-up scripts try and login using the proper users.

Hope that helps,
Menno

-----Oorspronkelijk bericht-----
Van: Starry SHI [mailto:starr...@gmail.com] 
Verzonden: maandag 4 mei 2009 10:53
Aan: core-user@hadoop.apache.org
Onderwerp: How to configure nodes with different user account?

Hi, all. I am new to Hadoop and I have a question to ask~

I have several accounts located in different linux servers (normal
user privilege, no admin authority), and i want to use them to form a
small cluster to run Hadoop applications. However, the usernames for
these accounts are different. I want to use shared key to connect all
the nodes, but I failed after several attempts. Is it possible to
connect all of them via different account?

For example, I have 3 account: us...@server1, us...@server2,
us...@server3. After assigning authorized keys, I can use "ssh
us...@server2" without input the password. But when I start hadoop, I
was asked to input the password for us...@server2 (when I have already
logged in as user1).

Can my problem be solved easily? I wish to get your help soon.

Thank you for all your attention and help!

Best regards,
Starry

Reply via email to