【求助】,hadoop-2.2.0 64位安装配置完后namenode启动后自动关闭,访问不了5007...

查看数: 24244 | 评论数: 16 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2016-4-3 16:30

正文摘要:

【求助】,hadoop-2.2.0 64位安装配置完后namenode启动后自动关闭,登录web控制台访问不了50070,怎么解决。

回复

fengfengda 发表于 2017-8-23 18:23:06
楼主当时解决了吗?怎么解决的
进击的巨人 发表于 2016-4-18 09:34:32
是不是namenode和datanode的version中的CLUSTERID不一致呀
s060403072 发表于 2016-4-14 15:54:37
Purplelione 发表于 2016-4-3 19:48
java.net.ConnectException: Call From master/192.168.112.137 to master:8020 failed on connection ex ...

host,防火墙,hadoop权限等检查下
Purplelione 发表于 2016-4-3 19:48:52

java.net.ConnectException: Call From master/192.168.112.137 to master:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused日志提示错误以上,这个是8020端口拒绝连接,可是这是为什么呢
Purplelione 发表于 2016-4-3 19:23:43

日志提示错误:java.net.ConnectException: Call From master/192.168.112.137 to master:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused,貌似是连接不上
atsky123 发表于 2016-4-3 19:21:38
Purplelione 发表于 2016-4-3 19:12
我是用vmware创建三台虚拟机来搭建的,日志报错上网查了一下说是端口问题,不知道有没有影响?

有影响的
Purplelione 发表于 2016-4-3 19:18:13
Purplelione 发表于 2016-4-3 19:12
我是用vmware创建三台虚拟机来搭建的,日志报错上网查了一下说是端口问题,不知道有没有影响?

报错信息如下:
2016-04-03 03:38:47,178 ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Exception in doCheckpoint
java.net.ConnectException: Call From master/192.168.112.137 to master:8020 failed on connection exception: java.net.ConnectException: Connection refused; 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)
        ...
Caused by: java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
Purplelione 发表于 2016-4-3 19:14:36
pig2 发表于 2016-4-3 18:46
在看日志,安装过程一定细心,否则会遇到各种问题

查看了一下日志,报错信息如下:
2016-04-03 03:38:47,178 ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Exception in doCheckpointjava.net.ConnectException: Call From master/192.168.112.137 to master:8020 failed on connection exception: java.net.ConnectException: Connection refused; 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:783)        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:730)       ...Caused by: java.net.ConnectException: Connection refused        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)        at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:493)        at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:547)        at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:642)        at org.apache.hadoop.ipc.Client$Connection.access$2600(Client.java:314)        at org.apache.hadoop.ipc.Client.getConnection(Client.java:1399)        at org.apache.hadoop.ipc.Client.call(Client.java:1318)        ... 18 more
Purplelione 发表于 2016-4-3 19:12:43
pig2 发表于 2016-4-3 18:46
在看日志,安装过程一定细心,否则会遇到各种问题

我是用vmware创建三台虚拟机来搭建的,日志报错上网查了一下说是端口问题,不知道有没有影响?
关闭

推荐上一条 /2 下一条