hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramkrishna S Vasudevan <ramakrish...@huawei.com>
Subject FW: Scripts to make the SSH password generation easier while trying to start a cluster
Date Mon, 02 May 2011 11:04:48 GMT



Sometimes when we have a large number of clusters we may have to specify the
password of the different machines that we are using as slaves (datanodes).


If the cluster is very huge we may have to repeat this everytime.

So we would  to suggest a way to avoid this


1. Generate a SSH key from the name node machine

2. Read the entries from the conf/slaves file, for every entry add the key
generated in step 1 to a file of slave machine.

3. Repeat the same for master file also.


when you execute step 1 it will prompt for the password.  This is only for
the first time.


After that whenever you need to start the cluster then password need not be


This scenario is valid when we are sure of the cluster that we will be
maintaining and we are aware of the credentials of the machine.


This will help the cluster administrator.


Pls provide your comments.


If it is ok I can raise a JIRA and contribute the utility.





  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message