01-25-2017 12:04 AM
Hi Can you anyone help me out with below configuration file and please let me know how to generate the SSH private key file - We configuring HA namenode cluster for testing purpose.
<property> <name>dfs.ha.fencing.ssh.private-key-files</name> <value>/home/exampleuser/.ssh/id_rsa</value> </property>
Not my area - I have no idea as to how to generate this file
01-27-2017 01:25 PM
Run the command "ssh-keygen" in the master node, it will generate two files, in which move "id_rsa.pub" to child node and rename it as authorizedkey and change the permission to 600.
This is required for keyless entry
You can refer this link with above understanding