hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gopal <absoft...@gmail.com>
Subject Re: hbase 0.90.5 and hadoop 0.20.203
Date Tue, 06 Mar 2012 06:00:34 GMT
On 3/6/2012 12:44 AM, Gopal wrote:
> On 3/5/2012 11:21 PM, Harsh J wrote:
>> directory. The bundled jar is ONLY for use in standalone mode. In
>
> Now getting this :- With 0.20.205.0
> java.lang.RuntimeException: Failed construction of Master: class 
> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMasterorg.apache.commons.configuration.Configuration
>         at 
> org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:155)
>         at 
> org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:197)
>         at 
> org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:147)
>         at 
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:137)
>         at 
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:102)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at 
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
>         at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1079)
> *Caused by: java.lang.NoClassDefFoundError: 
> org/apache/commons/configuration/Configuration*
>         at 
> org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<init>(DefaultMetricsSystem.java:37)
>         at 
> org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<clinit>(DefaultMetricsSystem.java:34)
>         at 
> org.apache.hadoop.security.UgiInstrumentation.create(UgiInstrumentation.java:51)
>         at 
> org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:196)
>         at 
> org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:15
Step 1

and the solution was to copy the jar file from *hbase*.

and using hbase 0.92.0 instead of 0.90.5

*any how I am on hbase 0.92.0 and hadoop 0.20.205*





Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message