HADOOP_CONF_DIR配置完这个之后产生新的 报错,core.site.xml明明配置了啊!

``` [root@HTY2-1 conf]# hadoop fs -ls ls: No Route to Host from HTY2-1/192.168.83.135 to HTY2-1:8020 failed on socket timeout exception: java.net.NoRouteToHostException: 没有到主机的路由; For more details see: http://wiki.apache.org/hadoop/NoRouteToHost [root@HTY2-1 conf]# vim /etc/profile [root@HTY2-1 conf]# vim /etc/hosts [root@HTY2-1 conf]# ``` core.site.xml ``` fs.defaultFS hdfs://HTY2-1:8020 ```

@CrazyChao - 人生不止眼前的苟且,还有诗和远方的田野!^.^

赞同来自: wangxiaolei crazyant

解决了,是vmware重新分配了虚拟机的ip,修改完/etc/hosts之后恢复正常,执行hadoop fs -ls也正常了

wangxiaolei

赞同来自:

namenode启动了吗

要回复问题请先登录注册