配置Hadoop叢集:java.net.NoRouteToHostException: No route to host問題的解決
阿新 • • 發佈:2019-01-01
datanode連線不上namenode,導致datanode無法啟動。
[[email protected] bin]# ./hdfs dfsadmin -report
report: No Route to Host from slave/10.14.44.211 to master:9000 failed on socket timeout exception: java.net.NoRouteToHostException: No route to host; For more details see: http://wiki.apache.org/hadoop/NoRouteToHost
關閉防火牆
[[email protected] bin]# service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
機器重啟後,防火牆還會開啟。 so,you must do it again the next time。