hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <yogesh.kuma...@wipro.com>
Subject ERROR:: Hadoop Installation in distributed mode.
Date Thu, 25 Oct 2012 13:50:23 GMT
Hi All,

I trying to install Hadoop in distributed mode over Two Mac OS X 10.6.8 machines.

I have configured
1) One as a Master ( plays role of both Name node and Data Node)
2) Second as a Slave ( Only date node)

I have give same name to both Machines and they have Admin access. pluto ( for both Master
and Slave).

and generated ssh key pair through this way

Master:~ mediaadmin$ ssh-keygen -t rsa -P " "
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/mediaadmin/.ssh/id_rsa):
/Users/mediaadmin/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Your identification has been saved in /Users/mediaadmin/.ssh/id_rsa.
Your public key has been saved in /Users/mediaadmin/.ssh/id_rsa.pub.
The key fingerprint is:
32:0f:be:7a:ea:44:a1:4a:b6:b1:85:3f:1f:56:48:4b mediaadmin@Master
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|                 |
|    .E           |
|  ..o.o          |
| =...o+.S        |
|o.*. ..=         |
|.o o.o. .        |
|   .+ o.         |
|   .+=.          |

Copy to home
Master:~ mediaadmin$ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys

and copy to Slave Node as
mediaadmin$ cat ~/.ssh/id_rsa.pub | ssh pluto@Slave 'cat >> ~/.ssh/authorized_keys'

Login to Slave node
Master:~ mediaadmin$ ssh pluto@Slave
Last login: Thu Oct 25 18:54:15 2012 from

and Log out
plutos-iMac:~ pluto$ exit

Connection to Slave closed.

Login to Master node (here it asks for password)
Master:~ mediaadmin$ ssh Master
Last login: Thu Oct 25 19:03:27 2012 from master


when I run start-dfs.sh, its asks for password and I did enter the pass word of Master but
i didn't accept.

Master:~ mediaadmin$ start-dfs.sh
starting namenode, logging to /HADOOP/hadoop-0.20.2/bin/../logs/hadoop-mediaadmin-namenode-Master.out
Slave: Permission denied (publickey,keyboard-interactive).

Master: starting datanode, logging to /HADOOP/hadoop-0.20.2/bin/../logs/hadoop-mediaadmin-datanode-Master.out
Master: starting secondarynamenode, logging to /HADOOP/hadoop-0.20.2/bin/../logs/hadoop-mediaadmin-secondarynamenode-Master.out

When I enter password of Slave then it again goes like this.

Master:~ mediaadmin$ start-dfs.sh
starting namenode, logging to /HADOOP/hadoop-0.20.2/bin/../logs/hadoop-mediaadmin-namenode-Master.out
Master: Permission denied (publickey,keyboard-interactive).

Slave: Permission denied (publickey,keyboard-interactive).
Master: Permission denied (publickey,keyboard-interactive).

Please suggest me where I am going wrong, and why is asking for password when I configured
it as password less SSH,

where I doing mistake in SSH or some thing else.

Thanks & Regards
Yogesh Kumar Dhari

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email. 


View raw message