服務器重啓後,hostname改變,hdfs不能上傳文件

服務器重啓後,hostname改變,hdfs不能上傳文件


1.修改hostname


#hostname newname


java.net.NoRouteToHostException: 沒有到主機的路由
java.io.IOException: Bad connect ack with firstBadLink as 192.168.11.5:50011



2.關閉192.168.11.5的防火牆
(1)查看防火牆的狀態
[root@xxx ~]# service iptables status
iptables:未運行防火牆。
(2)關閉防火牆
#service iptables stop 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章