You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/12/08 06:11:37 UTC
svn commit: r1211758 - /hbase/trunk/src/docbkx/troubleshooting.xml
Author: stack
Date: Thu Dec 8 05:11:36 2011
New Revision: 1211758
URL: http://svn.apache.org/viewvc?rev=1211758&view=rev
Log:
Added troubleshooting section on running hbase on other than the hadoop it ships with
Modified:
hbase/trunk/src/docbkx/troubleshooting.xml
Modified: hbase/trunk/src/docbkx/troubleshooting.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/troubleshooting.xml?rev=1211758&r1=1211757&r2=1211758&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/troubleshooting.xml (original)
+++ hbase/trunk/src/docbkx/troubleshooting.xml Thu Dec 8 05:11:36 2011
@@ -930,4 +930,29 @@ ERROR org.apache.hadoop.hbase.regionserv
</section>
+ <section xml:id="trouble.versions">
+ <title>HBase and Hadoop version issues</title>
+ <section xml:id="trouble.versions.205">
+ <title><code>NoClassDefFoundError</code> when trying to run 0.90.x on hadoop-0.20.205.x (or hadoop-1.0.x)</title>
+ <para>HBase 0.90.x does not ship with hadoop-0.20.205.x, etc. To make it run, you need to replace the hadoop
+ jars that HBase shipped with in its <filename>lib</filename> directory with those of the Hadoop you want to
+ run HBase on. If even after replacing Hadoop jars you get the below exception:
+<computeroutput>
+sv4r6s38: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration
+sv4r6s38: at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<init>(DefaultMetricsSystem.java:37)
+sv4r6s38: at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<clinit>(DefaultMetricsSystem.java:34)
+sv4r6s38: at org.apache.hadoop.security.UgiInstrumentation.create(UgiInstrumentation.java:51)
+sv4r6s38: at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:209)
+sv4r6s38: at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:177)
+sv4r6s38: at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:229)
+sv4r6s38: at org.apache.hadoop.security.KerberosName.<clinit>(KerberosName.java:83)
+sv4r6s38: at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:202)
+sv4r6s38: at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:177)
+</computeroutput>
+you need to copy under <filename>hbase/lib</filename>, the <filename>commons-configuration-X.jar</filename> you find
+in your Hadoop's <filename>lib</filename> directory. That should fix the above complaint.
+</para>
+</section>
+</section>
+
</chapter>