Hadoop之HMaster会自动停掉,怎么回事?
来源:互联网 发布:java实现zip的解压 编辑:程序博客网 时间:2024/04/28 12:18
问题: 搭建hadoop的测试环境完后, 发现HMaster会自动停掉, 启动后, 刚开始能jps看到HMaster的进程, 几秒后再jps就不见了. 怎么回事?
Log中是:
[root@master2 bin]# more /data/hbase-0.96.0-hadoop2/logs/hbase-root-master-master2.out
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/data/hbase-0.96.0-hadoop2/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/data/hadoop-2.2.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBin
der.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
解决办法:
解决办法:将hbase中master的lib/下的slf4j-log4j12-1.7.5.jar删除,与/home/xuhui/hadoop-2.2.0/share/hadoop/common/lib下的jar重复包含了
删去了还是不行?怎么解决?Log文件中是空的
解决办法:
清空hadoop的tmp文件夹依然不好用! 怎么破?
解决办法:
重新格式化namenode,所有机器上:
hdfs namenode -format
将hbase/lib下的hadoop的jar包替换为hadoop中的2.2的jar包:
还是不行啊? 怎么破?
Log如下:
2015-05-14 13:58:46,284 INFO [master:master1:60000] Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS
2015-05-14 13:58:47,002 WARN [Thread-45] hdfs.DFSClient: DataStreamer Exception
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.
2015-05-14 13:58:47,010 WARN [master:master1:60000] util.FSUtils: Unable to create version file at hdfs://master1:9001/hbase, retrying
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.
2015-05-14 13:58:57,051 WARN [Thread-48] hdfs.DFSClient: DataStreamer Exception
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.
2015-05-14 13:59:17,088 FATAL [master:master1:60000] master.HMaster: Unhandled exception. Starting shutdown.
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.
2015-05-14 13:59:17,165 ERROR [Thread-5] hdfs.DFSClient: Failed to close file /hbase/hbase.version
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.
解决办法:
经过清理各个namenode,datanode, 重新格式化namenode. Natanode也启动起来了, hbase的master也启动起来了.
- Hadoop之HMaster会自动停掉,怎么回事?
- 解决Hbase启动后,hmaster会在几秒钟后自动关闭(停掉)!!!
- 有关Oracel监听器启动后会自动停掉的问题
- 【问题记录】standby MRP进程挂了 报IO错误 重启MRP仍会自动停掉
- Hbase源码之HMaster
- HMaster启动后自动关闭
- submit 的返回值为false 但表单还是会自动提交,怎么回事?
- HBase之HMaster组件介绍
- Hbase0.96源代码之HMaster(二)Hmaster主要循环becomeActiveMaster
- Hbase0.96源代码之HMaster(三)Hmaster主要循环
- HMaster自动退出源于regionServer宕机
- HMaster自动退出源于regionServer宕机
- HMaster自动退出源于regionServer宕机
- hbase启动后HMaster自动关闭
- hbase启动后HMaster自动关闭
- 容器越界程序会停
- 悬而未决:WIN2000的服务经常被自动停掉
- hadoop集群启停命令
- notepad++ 插件推荐——快速定位文件
- 神经网络 Stanford UFLDL
- Linux 安装(笔记)
- JSON 之FastJson解析
- C#中实现 子窗体控制调用父窗体成员和控件
- Hadoop之HMaster会自动停掉,怎么回事?
- C操作符
- java学习日记
- APIO 2015
- 【无中生有】---14---用户行为监控系统嵌入
- linux程序设计——进程和信号(第十一章)
- 黑马程序员——java基础---关键字、常量、变量、运算符
- leetcode summary-ranges
- [转载]磁盘概念 (2011-09-20 10:00:54)