Hadoop: require root's password after enter “start-all.sh”

后端 未结 6 1321
执念已碎
执念已碎 2020-12-14 19:08

I have installed Hadoop and SSH on my laptop. \"ssh localhost\" works fine. After formatting HDFS, I tried to start hadoop.

munichong@GrindPad:~$ sudo /usr/         


        
6条回答
  •  执笔经年
    2020-12-14 19:56

    Create and Setup SSH Certificates Hadoop requires SSH access to manage its nodes, i.e. remote machines plus our local machine. For our single-node setup of Hadoop, we therefore need to configure SSH access to localhost.

    So, we need to have SSH up and running on our machine and configured it to allow SSH public key authentication.

    Hadoop uses SSH (to access its nodes) which would normally require the user to enter a password. However, this requirement can be eliminated by creating and setting up SSH certificates using the following commands. If asked for a filename just leave it blank and press the enter key to continue.

    check this site

提交回复
热议问题