[
https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243976#comment-13243976
]
Jonathan Hsieh commented on HBASE-5680:
---------------------------------------
Hm.. I didn't add all the hadoop 23 jars -- I added:
hadoop-auth-*.jar
hadoop-common-*.jar
hadoop-hdfs-*.jar
I didn't add any of the mapreduce or yarn jars maybe that has something to do
with it. A lot of the recompile was due to changes in MR2 (classes turned into
interfaces, and shims to allow compilation). Can you try moving those jars out
of the way?
By just including those jars, I've run some recompiled mr jobs using a command
line like this:
HADOOP_HOME=`hbase classpath` hadoop jar xxx.jar <Class> <args..>
> Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1
> --------------------------------------------------------------
>
> Key: HBASE-5680
> URL: https://issues.apache.org/jira/browse/HBASE-5680
> Project: HBase
> Issue Type: Bug
> Components: master
> Reporter: Kristam Subba Swathi
>
> Hmaster is not able to start because of the following error
> Please find the following error
> ----------------------------
> 2012-03-30 11:12:19,487 FATAL org.apache.hadoop.hbase.master.HMaster:
> Unhandled exception. Starting shutdown.
> java.lang.NoClassDefFoundError:
> org/apache/hadoop/hdfs/protocol/FSConstants$SafeModeAction
> at org.apache.hadoop.hbase.util.FSUtils.waitOnSafeMode(FSUtils.java:524)
> at
> org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:324)
> at
> org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:127)
> at
> org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:112)
> at
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:496)
> at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:363)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.hdfs.protocol.FSConstants$SafeModeAction
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> ... 7 more
> There is a change in the FSConstants
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira