Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 01-25-2017 12:04 AM - edited 09-16-2022 03:57 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
/home/exampleuser/.ssh/id_rsa
Thanks
Created 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
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
Created 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
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
Created on 01-27-2017 08:26 PM - edited 01-27-2017 08:32 PM
Created 01-28-2017 12:43 AM
Created 01-30-2017 12:12 PM
It is authorized_key
nothing to do with hdfs here. so it is user:linux group (instead of hdfs group)