Error Reported When hdfs namenode -format Is Run
Symptom
The error message "Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)" is displayed when hdfs namenode -format is run.
Key Process and Cause Analysis
The password-free function of the local host is faulty.
Conclusion and Solution
Run the ssh-keygen -t rsa command to enable the password-free function again.