1.ssh服务器添加公钥以后报错sign_and_send_pubkey: signing fialed: agent refused operation
解决方案:
输入命令
$ eval "$(ssh-agent -s)"
$ ssh-add
参考地址:https://chenhuachao.com/2016/05/26/ssh%E5%87%BA%E9%94%99-sign-and-send-pubkey-signing-failed-agent-refused-operation/
2.namenode无法正常启动
解决方案:
删除/usr/local/hadoop/tmp文件夹(/usr/local/hadoop为hadoop安装的文件夹)
然后输入命令
$ cd /usr/local/hadoop
$./bin/hdfs namenode -format
3.datanode无法正常启动
解决方案:
将/usr/local/hadoop/tmp/dfs/data/current文件夹中的VERSION文件中的clusterID

替换到/usr/local/hadoop/tmp/dfs/name/current文件夹中的VERSION文件的中的clusterID
参考地址:http://jingyan.baidu.com/article/3c343ff7e75e9e0d36796347.html
相关文章: