启动HDFS遇到问题
来源:互联网 发布:阿里软件有哪些 编辑:程序博客网 时间:2024/06/05 08:50
今天在启动HDFS时遇到问题,日志如下:
logs
SLF4J: Found binding in [jar:file:/home/iespark/hadoop_program_files/hadoop-2.6.2/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/iespark/hadoop_program_files/hbase-1.1.2/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/iespark/hadoop_program_files/hbase-1.1.2/lib/phoenix-4.5.2-HBase-1.1-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
15/12/30 15:29:40 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
ls: Call From hadoopadmin/219.226.86.155 to hadoopadmin:9000 failed on connection exception: java.net.ConnectException: Connection refused;
我的原因是没有将集群关了,就直接shutdown,导致有的进程没有kill,将有关进程全部kill,重新启动hadoop集群即可。
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.
- 启动HDFS遇到问题
- 修改HDFS遇到的问题
- HA模式下,扩展HDFS集群遇到的问题,namenode 启动不起来!emmmmmmmm~
- tomcat 启动遇到问题
- vertica启动遇到的问题
- 上传到HDFS上的文件遇到乱码问题
- sqoop从mysql导入hdfs数据过程遇到的问题
- 在hdfs创建目录时遇到的连接问题
- HDFS正常启动,DataNode节点个数为0的问题
- hadoop里的hdfs datanode 不能启动的问题
- Eclipse启动遇到的问题获得解决
- web方式启动smartclient遇到的问题
- tomcat 启动时遇到的问题
- Tomcat启动过程中遇到的问题
- weblogic启动遇到的小问题
- 启动em dbconsole遇到的timezone问题
- 启动dbconsole遇到的timezone问题
- 启动Apache是遇到的问题
- css绘制三角形
- 2015年年终总结
- IE浏览器下POST中文乱码解决办法 - PHP实现
- windows下配置2个mysql来进行主从配置
- Markdown中对图片进行居中,设置大小等操作
- 启动HDFS遇到问题
- OpenCV3 外极线的绘制
- android 创建多层树型结构
- java发送邮件没有主题且乱码以及如何exclusion依赖
- openstack中运行定时任务的两种方法及源代码分析
- 获取当前时间所在凌晨和23:59:59
- Quartz2D
- Vmware 安装CentOS7时连不上网问题的解决
- https证书生成命令记录