Connection Refused
You get a ConnectionRefused Exception when there is a machine at the address specified, but there is no program listening on the specific TCP port the client is using -and there is no firewall in the way silently dropping TCP connection requests. If you do not know what a TCP connection request is, please consult the specification.
Unless there is a configuration error at either end, a common cause for this is the Hadoop service isn't running.
This stack trace is very common when the cluster is being shut down -because at that point Hadoop services are being torn down across the cluster, which is visible to those services and applications which haven't been shut down themselves. Seeing this error message during cluster shutdown is not anything to worry about.
If the application or cluster is not working, and this message appears in the log, then it is more serious.
- Check the hostname the client using is correct
- Check the IP address the client is trying to talk to for the hostname is correct.
- Make sure the destination address in the exception isn't 0.0.0.0 -this means that you haven't actually configured the client with the real address for that
service, and instead it is picking up the server-side property telling it to listen on every port for connections.
- Check that there isn't an entry for your hostname mapped to 127.0.0.1 or 127.0.1.1 in /etc/hosts (Ubuntu is notorious for this)
- Check the port the client is trying to talk to using matches that the server is offering a service on.
-
On the server, try a telnet localhost <port> to see if the port is open there.
-
On the client, try a telnet <server> <port> to see if the port is accessible remotely.
- Try connecting to the server/port from a different machine, to see if it just the single client misbehaving.
- If you are using a Hadoop-based product from a third party, including those from Cloudera, Hortonworks, Intel, EMC and others -please use the support channels provided by the vendor.
-
Please do not file bug reports related to your problem, as they will be closed as Invalid
None of these are Hadoop problems, they are host, network and firewall configuration issues. As it is your cluster, only you can find out and track down the problem.
http://wiki.apache.org/hadoop/ConnectionRefused
相关推荐
putty connection refused问题的定位解决,putty connection refused问题的定位解决
SSH 登录 Connection Refused 的解决办法 SSH(Secure Shell)是一种安全的网络协议,用于远程登录和管理计算机。然而,在使用 SSH 登录时,可能会遇到 Connection Refused 的问题。本文将详细介绍导致 Connection ...
连接服务器失败(错误原因:Connection refused) error 111 抓包结果
当你尝试使用`telnet`连接到本地主机(127.0.0.1)时,如果遇到“Connection refused”错误,通常表示服务未运行或未正确配置。以下是一些解决这个问题的方法: 1. **检查服务状态**: 首先,确认你需要连接的服务...
Connection Refused(解决方案).md
Connection Refused(处理方案).md
在网络通信中,经常出现Connection Refused报错提示,不仅仅是socket编程,也有xshell连接时出现这种问题。在查阅资料后,把常见问题记入本文。 服务器拒绝,有几个可能性: 服务器没启动或未监听端口(用TCP工具连...
connection refused解决方案(亲测可用)
今天小编就为大家分享一篇关于Java中Connection timed out和Connection refused的区别讲解,小编觉得内容挺不错的,现在分享给大家,具有很好的参考价值,需要的朋友一起跟随小编来看看吧
0629_极智开发_解读登录harbor报错connection refused连接拒绝的解决方法
ssh: connect to host 192.168.136.130 port 22: Connection refused,Fodera 远程连接失败 1.首先确认是否安装process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3...
在Nginx的使用过程中,可能会遇到两种常见的错误:`Permission denied` 和 `Connection refused`。这些错误会导致Nginx无法正常处理客户端的请求,从而影响网站或服务的可用性。下面将详细介绍这两种错误的含义、...
在Linux系统中,NFS(Network File System)是一种分布式文件系统协议,允许网络中的计算机共享存储资源。"挂载NFS个人小结"的主题显然聚焦于如何在Linux环境中配置和解决NFS挂载过程中遇到的问题,这对于初学者,...
。。。
**正文** MobaXterm是一款强大的远程终端工具,尤其适合IT专业人员进行远程连接和管理。它集成了众多实用功能,如SSH、FTP、SFTP、RDP等,使得与虚拟机之间的交互变得极其便捷。相比FileZilla,MobaXterm提供了更...
nc常见系统操作问题