FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception
2014-05-04 15:29
309 查看
hbase 0.90.5
hadoop 1.2.1
配置HBase,到了最后一步,jps下,发现主节点上HMaster没有启动,在HBase log里有下面异常:
。。。
FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown.
java.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration
。。。
Caused by: java.lang.ClassNotFoundException: org.apache.commons.configuration.Configuration
在网上,有老外如此回答:
Yep, commons-configuration-1.6.jar is shipped in recent hadoop-0.20.203
and not in previous hadoop-0.20.2.
Vamshi, I bet on hadoop throwing a remote exception, with hbase being
unable to read it cause it does not have the commons-configuration jar
(that's what can happen when remote throws exception with non-jdk classes).
Adding the jar in hbase will allow you to better read the cause, but you
will need after to fix your hadoop config.
意思是HBase 的 lib文件夹中缺少commons-configuration。
从hadoop_home/lib下面cp一个commons-configuration-1.6.jar到hbase_home/lib下, 然后就开心了。
hadoop 1.2.1
配置HBase,到了最后一步,jps下,发现主节点上HMaster没有启动,在HBase log里有下面异常:
。。。
FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown.
java.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration
。。。
Caused by: java.lang.ClassNotFoundException: org.apache.commons.configuration.Configuration
在网上,有老外如此回答:
Yep, commons-configuration-1.6.jar is shipped in recent hadoop-0.20.203
and not in previous hadoop-0.20.2.
Vamshi, I bet on hadoop throwing a remote exception, with hbase being
unable to read it cause it does not have the commons-configuration jar
(that's what can happen when remote throws exception with non-jdk classes).
Adding the jar in hbase will allow you to better read the cause, but you
will need after to fix your hadoop config.
意思是HBase 的 lib文件夹中缺少commons-configuration。
从hadoop_home/lib下面cp一个commons-configuration-1.6.jar到hbase_home/lib下, 然后就开心了。
相关文章推荐
- Hadoop重启,Hbase出现Master exiting的错误:org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting
- org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Aborted
- Hbase 启动报错 class org.apache.hadoop.hbase.master.HMaster
- Hbase错误ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [HBase] ERROR:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- org.apache.hadoop.hbase.PleaseHoldException: Master is initializing解决方案
- HBase建表时报错问题之:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- ERROR: org.apache.hadoop.hbase.PleaseHoldException:Master is initializing
- hbase坑二:shell终端执行命令报错ERROR:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- hbase分布式部署问题之org.apache.hadoop.hbase.regionserver.HRegionServer: Unable to connect to master
- Hbase ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [HBase] ERROR:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- Hadoop-2.5+Hbase-0.98报错:java.lang.RuntimeException: Failed construction of Master: class org.apache.
- ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- HBase 报错 ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing