Hbase学习6_<hostname>:9000 failed on connection exception: java.net.ConnectException: 拒绝连接
2017-02-20 12:18
579 查看
1.首先确保Hadoop相应进程是否开启,通过jps查看是否有namenode进程
2.然后通过netstat -nltp|grep 9000查看9000端口是否处于监听状态
3.接着通过telnet 远程的主机名 9000查看是否连接成功,如果提示Connection refused则进行第4步
4.通过sudo service iptables status查看防火墙是否开启,如果开启则通过sudo service iptables stop(此命令立即生效,但机器重启后又会恢复,如果想永久关闭(开启)防火墙,可以通过sudo chkconfig iptables off(on)命令),将其关闭(大部分是由于开启了防火墙导致的)
通过上面的步骤能够百分之八十解决该问题
备注:
本次遇到这个问题,原因是更改了Hbase的配置信息,将Master节点变换了,但是没有变换Hadoop的Master节点,所以遇到了问题2。
原文来自:http://blog.csdn.net/u014686180/article/details/51762505
2.然后通过netstat -nltp|grep 9000查看9000端口是否处于监听状态
3.接着通过telnet 远程的主机名 9000查看是否连接成功,如果提示Connection refused则进行第4步
4.通过sudo service iptables status查看防火墙是否开启,如果开启则通过sudo service iptables stop(此命令立即生效,但机器重启后又会恢复,如果想永久关闭(开启)防火墙,可以通过sudo chkconfig iptables off(on)命令),将其关闭(大部分是由于开启了防火墙导致的)
通过上面的步骤能够百分之八十解决该问题
备注:
本次遇到这个问题,原因是更改了Hbase的配置信息,将Master节点变换了,但是没有变换Hadoop的Master节点,所以遇到了问题2。
fs.defaultFS中配置的9000端口在NameNode节点上。
原文来自:http://blog.csdn.net/u014686180/article/details/51762505
相关文章推荐
- <hostname>:9000 failed on connection exception: java.net.ConnectException: 拒绝连接
- to localhost:8020 failed on connection exception: java.net.ConnectException: 拒绝连接
- spark连接HDFS报错:8020 failed on connection exception: java.net.ConnectException: 拒绝连接 解决方法
- Call to master/*:9000 failed on connection exception: java.net.ConnectException: Conne 错误解决
- Call to localhost/127.0.0.1:9000 failed on connection exception:java.net.ConnectException
- Caused by: java.net.ConnectException: Call From master/192.168.199.130 to master:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.
- Call to hostname/x.x.x.x:9000 failed on connection exception:java.net.ConnectException
- Bad connection to FS. command aborted. exception: Call to chaoren/192.168.80.100:9000 failed on connection exception: java.net.ConnectException: Connection refused
- hadoop安装后运行出现Call to localhost/127.0.0.1:9000 failed on connection exception: java.net.ConnectExcept
- Call to localhost/127.0.0.1:9000 failed on connection exception:java.net.ConnectException
- Call to localhost/127.0.0.1:9000 failed on connection exception:java.net.ConnectException
- 异常解决:java.net.ConnectException: Call To Master/127.0.0.1:9000 failed on connection exception
- java.net.ConnectException: Call From localhost/127.0.0.1 to localhost:8020 failed on connection
- java.net.ConnectException: Call From db96/192.168.8.96 to db96:49002 failed on connection exception:
- Call to localhost/127.0.0.1:9001 failed on connection exception: java.net.ConnectException: Connecti
- Call From master/192.168.128.135 to master:8485 failed on connection exception: java.net.ConnectException: Connection refused
- Call From master/192.168.170.128 to master:8020 failed on connection exception: java.net.ConnectExce
- java.net.ConnectException: Call From USER-20160828CP/192.168.2.107 to 192.168.66.8:9000 failed on co
- Failed on connection exception: java.net.ConnectException
- Call From master/192.168.128.135 to master:8485 failed on connection exception: java.net.ConnectExce