![]() /usr/local/hadoop/etc/hadoop/core-site.xml./usr/local/hadoop/etc/hadoop/hadoop-env.sh.The following files will have to be modified to complete the Hadoop setup: Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by Individual files in /usr/share/doc/*/copyright. The exact distribution terms for each program are described in the ![]() The programs included with the Ubuntu system are free software Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts. The authenticity of host 'localhost (127.0.0.1)' can't be established.ĮCDSA key fingerprint is e1:8b:a0:a5:75:ef:f4:b4:5e:a9:ed:be:64:be:5c:2f.Īre you sure you want to continue connecting (yes/no)? yes The second command adds the newly created key to the list of authorized keys so that Hadoop can use ssh without prompting for a password. cat $HOME/.ssh/id_rsa.pub > $HOME/.ssh/authorized_keys Your identification has been saved in /home/hduser/.ssh/id_rsa. If asked for a filename just leave it blank and press the enter key to su ssh-keygen -t rsa -P ""Įnter file in which to save the key (/home/hduser/.ssh/id_rsa): However, this requirement can be eliminated by creating and setting up SSH certificates using the following commands. Hadoop uses SSH (to access its nodes) which would normally require the user to enter a password. So, we need to have SSH up and running on our machine and configured it to allow SSH public key authentication. For our single-node setup of Hadoop, we therefore need to configure SSH access to localhost. Hadoop requires SSH access to manage its nodes, i.e.
0 Comments
Leave a Reply. |