java.io.IOException: Failed on local exception: java.io.IOException: Connection reset by peer; Host Details : local host is: "work04.hadoop.com/192.168.200.244"; destination host is: "master.hadoop.com":8022;
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:772)
at org.apache.hadoop.ipc.Client.call(Client.java:1472)
work01节点是日志包含这个异常:
java.io.EOFException: End of File Exception between local host is: "work01.hadoop.com/192.168.200.241"; destination host is: "master.hadoop.com":8022; : java.io.EOFException; For more details see: http://wiki.apache.org/hadoop/EOFException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
在控制台执行 hadoop fs -ls / 出现如下异常 Exception in thread "main" java.lang.RuntimeException: core-site.xml not found
java.net.ConnectException: Call From work04.hadoop.com/192.168.200.244 to master.hadoop.com:8022 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
2015-06-21 17:46:49,049 WARN com.cloudera.cmf.event.publish.EventStorePublisherWithRetry: Failed to publish event: SimpleEvent{attributes={STACKTRACE=[java.net.ConnectException: Call From work04.hadoop.com/192.168.200.244 to master.hadoop.com:8022 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
CM 显示的datanode不良的情况已经找到了,因为namnode多次格式化 导致 datanode 的 /data/dfs/dn/current/VERSION 的clusterID和datanodeUuid 和
/opt/dfs/dn/current/VERSION不一致导致,修改之后重启一下就显示良好了,
但是还是有问题;
在终端输入 hadoop fs -ls /
会提示:
ception in thread "main" java.lang.RuntimeException: core-site.xml not found
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2476)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2402)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2319)
at org.apache.hadoop.conf.Configuration.set(Configuration.java:1057)
at org.apache.hadoop.conf.Configuration.set(Configuration.java:1029)
at org.apache.hadoop.conf.Configuration.setBoolean(Configuration.java:1367)
at org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:319)
at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:485)
at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:170)
at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:153)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:64)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.fs.FsShell.main(FsShell.java:340)
并且 jps 进程dou看不到名字,不知会不会有问题
[root@work04 /etc/hadoop/conf.cloudera.hdfs]$jps
17369 -- process information unavailable
11945 -- process information unavailable
18230 Jps