[ 
https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243942#comment-13243942
 ] 

Jonathan Hsieh commented on HBASE-5680:
---------------------------------------

Tried it again, and actually -- if you recompile using -Dhadoop.profile=23 
without the security profile the Master comes up and does not encounter the 
problem.  

(I probably had the wrong hadoop jars in my hbase classpath). 

So it boils down to needing to recompile hbase against hadoop 23. 

Maybe we should catch this exception and warn the user to recompile HBase, or 
possibly put out yet another package that is compiled against 23. 
                
> 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

        

Reply via email to