You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Kristam Subba Swathi (Created) (JIRA)" <ji...@apache.org> on 2012/03/30 11:44:35 UTC

[jira] [Created] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243974#comment-13243974 ] 

ramkrishna.s.vasudevan commented on HBASE-5680:
-----------------------------------------------

@Jon
'mvn package -DskipTests -Dhadoop.profile=23' - used this command to generate a jar of 0.94.

We have 0.94 installation. Already our installation is having only 0.23.1 hadoop jars in the classpath. Now we replaced the jar created from step 1 and tried again.  Ended up in getting the same exception.  Are we missing something here? 
                
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hsieh updated HBASE-5680:
----------------------------------

    Affects Version/s: 0.96.0
                       0.94.0
                       0.90.6
                       0.92.1
               Status: Patch Available  (was: Open)
    
> 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
>    Affects Versions: 0.92.1, 0.90.6, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Improve compatibility warning about HBase with Hadoop 0.23.x

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248482#comment-13248482 ] 

Hudson commented on HBASE-5680:
-------------------------------

Integrated in HBase-TRUNK #2720 (See [https://builds.apache.org/job/HBase-TRUNK/2720/])
    HBASE-5680 Improve compatibility warning about HBase with Hadoop 0.23.x (Revision 1310429)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

                
> Improve compatibility warning about HBase with Hadoop 0.23.x
> ------------------------------------------------------------
>
>                 Key: HBASE-5680
>                 URL: https://issues.apache.org/jira/browse/HBASE-5680
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>             Fix For: 0.90.7, 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248128#comment-13248128 ] 

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

if you look the patch, it takes the HadoopVersionAnnotation value that's compiled into the hadoop jar that is linked in. I tested against CDH Hadoop 23 in this case but if you use apache Hadoop 0.23.1 it will say that.

Sent from my iPhone



                
> 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
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248107#comment-13248107 ] 

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

Patch applies on 0.90/0.92/0.94/0.96.
                
> 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
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245015#comment-13245015 ] 

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

I started one that emits a better warning, need to test still. 

Sent from my iPhone



                
> 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

        

[jira] [Commented] (HBASE-5680) Improve compatibility warning about HBase with Hadoop 0.23.x

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248489#comment-13248489 ] 

Hudson commented on HBASE-5680:
-------------------------------

Integrated in HBase-0.94 #93 (See [https://builds.apache.org/job/HBase-0.94/93/])
    HBASE-5680 Improve compatibility warning about HBase with Hadoop 0.23.x (Revision 1310433)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

                
> Improve compatibility warning about HBase with Hadoop 0.23.x
> ------------------------------------------------------------
>
>                 Key: HBASE-5680
>                 URL: https://issues.apache.org/jira/browse/HBASE-5680
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>             Fix For: 0.90.7, 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Updated] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hsieh updated HBASE-5680:
----------------------------------

    Comment: was deleted

(was: How to test:

* Setup hadoop hdfs 0.23.x cluster.
* Compile against 1.0.x hadoop. {{mvn clean package -DskipTests}}
* Make HBASE_HOME ./target/hbase-version/hbase-version
* Replace hadoop jars in ./target/hbase-version/hbase-version/lib/ with hadoop 23 jars.
* start hbase.
* Look at master log.
)
    
> 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
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Improve compatibility warning about HBase with Hadoop 0.23.x

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259507#comment-13259507 ] 

Hudson commented on HBASE-5680:
-------------------------------

Integrated in HBase-0.92-security #105 (See [https://builds.apache.org/job/HBase-0.92-security/105/])
    HBASE-5680 Improve compatibility warning about HBase with Hadoop 0.23.x (Revision 1310434)

     Result = FAILURE
jmhsieh : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

                
> Improve compatibility warning about HBase with Hadoop 0.23.x
> ------------------------------------------------------------
>
>                 Key: HBASE-5680
>                 URL: https://issues.apache.org/jira/browse/HBASE-5680
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>             Fix For: 0.90.7, 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Improve compatibility warning about HBase with Hadoop 0.23.x

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248441#comment-13248441 ] 

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

Failed test worked locally for me, and is unrelated.

Commiting to 0.90/0.92/0.94/trunk.  Thanks for taking a look ram, ted, stack!
                
> Improve compatibility warning about HBase with Hadoop 0.23.x
> ------------------------------------------------------------
>
>                 Key: HBASE-5680
>                 URL: https://issues.apache.org/jira/browse/HBASE-5680
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244250#comment-13244250 ] 

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

I feel like to resolve this we should give the user some sort of warning about needing to recompile against hadoop23 (or vice versa if a version compiled against hadoop23 is attempts to run against a hadoop 1.0.0/0.20.x based hdfs).  Thoughts?
                
> 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

        

[jira] [Issue Comment Edited] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243593#comment-13243593 ] 

Jonathan Hsieh edited comment on HBASE-5680 at 3/31/12 11:24 PM:
-----------------------------------------------------------------

The master runs on top of hadoop 0.23.x
apache 0.92.1 recompiled with the security profile *on* (-Psecurity) and with -Dhadoop.profile=23
apache 0.94.0rc0 recompiled with the security profile *on* (-Psecurity) and  with -Dhadoop.profile=23 

The master fails on top of hadoop 0.23.x with the class not found error in these cases:
apache 0.92.1 right out of tarball
apache 0.92.1 with the security profile *off* with -Dhadoop.profile=23
apache 0.94.0rc0 right out of tarball.
apache 0.94.0rc0 security right out of tarball.
apache 0.94.0rc0 with the security profile *off* with -Dhadoop.profile=23


                
      was (Author: jmhsieh):
    The master starts on top of hadoop 0.23.x
apache 0.92.1 recompiled with the security profile *on* (-Psecurity) and with -Dhadoop.profile=23
apache 0.94.0rc0 recompiled with the security profile *on* (-Psecurity) and  with -Dhadoop.profile=23 

The master fails on top of hadoop 0.23.x with the class not found error in these cases:
apache 0.92.1 right out of tarball
apache 0.92.1 with the security profile *off* with -Dhadoop.profile=23
apache 0.94.0rc0 right out of tarball.
apache 0.94.0rc0 security right out of tarball.
apache 0.94.0rc0 with the security profile *off* with -Dhadoop.profile=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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248104#comment-13248104 ] 

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

How to test:

* Setup hadoop hdfs 0.23.x cluster.
* Compile against 1.0.x hadoop. {{mvn clean package -DskipTests}}
* Make HBASE_HOME ./target/hbase-version/hbase-version
* Replace hadoop jars in ./target/hbase-version/hbase-version/lib/ with hadoop 23 jars.
* start hbase.
* Look at master log.

                
> 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
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248097#comment-13248097 ] 

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

This is my test result -- new actionable FATAL warning message in master log:  

{code}
2012-04-05 22:51:34,267 FATAL master.HMaster (HMaster.java:abort(1385)) - HBase is having a problem with its Hadoop jars.  You may need to recompile HBase against Hadoop version 0.23.0-cdh4b1 or change your hadoop jars to start properly
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:479)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:342)
        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
{code}
                
> 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
>            Assignee: Jonathan Hsieh
>
> 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

        

[jira] [Updated] (HBASE-5680) Improve compatibility warning about HBase with Hadoop 0.23.x

Posted by "Jonathan Hsieh (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hsieh updated HBASE-5680:
----------------------------------

    Summary: Improve compatibility warning about HBase with Hadoop 0.23.x  (was: Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1 )
    
> Improve compatibility warning about HBase with Hadoop 0.23.x
> ------------------------------------------------------------
>
>                 Key: HBASE-5680
>                 URL: https://issues.apache.org/jira/browse/HBASE-5680
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248111#comment-13248111 ] 

ramkrishna.s.vasudevan commented on HBASE-5680:
-----------------------------------------------

@Jon
Looks good to me.  Thanks.
                
> 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
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Issue Comment Edited] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243970#comment-13243970 ] 

Jonathan Hsieh edited comment on HBASE-5680 at 4/2/12 4:33 AM:
---------------------------------------------------------------

@Ram -- when I did it i used 'mvn package -DskipTests -Dhadoop.profile=23' and then ran from a copy of the dir generated in target/hbase-xxx/hbase-xxx.  If you run from the directory you ran the mvn command in, I think hbase scripts will pick up hbase from that dir, or possibly the 1.0.0 version from the ~/.m2 dir. I think this is what caught me the first time I tried this.
                
      was (Author: jmhsieh):
    @Ram -- when I did it i used 'mvn package -DskipTests -Dhadoop.profile=23' and then ran from a copy of the dir generated in target/hbase-xxx/hbase-xxx.  If you run from the directory you ran the mvn command in, I think hbase will scripts will picked up hbase from that dir, or possibly the 1.0.0 version from the ~/.m2 dir. I think this is what caught me the first time I tried this.
                  
> 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

        

[jira] [Commented] (HBASE-5680) Improve compatibility warning about HBase with Hadoop 0.23.x

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249190#comment-13249190 ] 

Hudson commented on HBASE-5680:
-------------------------------

Integrated in HBase-0.94-security #8 (See [https://builds.apache.org/job/HBase-0.94-security/8/])
    HBASE-5680 Improve compatibility warning about HBase with Hadoop 0.23.x (Revision 1310433)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

                
> Improve compatibility warning about HBase with Hadoop 0.23.x
> ------------------------------------------------------------
>
>                 Key: HBASE-5680
>                 URL: https://issues.apache.org/jira/browse/HBASE-5680
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>             Fix For: 0.90.7, 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Improve compatibility warning about HBase with Hadoop 0.23.x

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249171#comment-13249171 ] 

Hudson commented on HBASE-5680:
-------------------------------

Integrated in HBase-TRUNK-security #161 (See [https://builds.apache.org/job/HBase-TRUNK-security/161/])
    HBASE-5680 Improve compatibility warning about HBase with Hadoop 0.23.x (Revision 1310429)

     Result = FAILURE
jmhsieh : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

                
> Improve compatibility warning about HBase with Hadoop 0.23.x
> ------------------------------------------------------------
>
>                 Key: HBASE-5680
>                 URL: https://issues.apache.org/jira/browse/HBASE-5680
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>             Fix For: 0.90.7, 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Uma Maheswara Rao G (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242330#comment-13242330 ] 

Uma Maheswara Rao G commented on HBASE-5680:
--------------------------------------------

I remember, in 23 Version FSConstants has been deprecated.

{code}
@Deprecated
public abstract class FSConstants extends HdfsConstants {
}
{code}

And also HdfsConstants marked as InterfaceAudience.Private

{code}
@InterfaceAudience.Private
public class HdfsConstants {
{code}

I just commented in HDFS-1599, accessing something internal to DFS will create difficulties in later times for migrating the versions with Hadoop right. no?


                
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243985#comment-13243985 ] 

ramkrishna.s.vasudevan commented on HBASE-5680:
-----------------------------------------------

@Jon 
Its working now.  Cleared all the classes inside target and regenerated.  Thanks Jon. 
                
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243593#comment-13243593 ] 

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

The master starts on top of hadoop 0.23.x
apache 0.92.1 recompiled with the security profile *on* (-Psecurity) and with -Dhadoop.profile=23
apache 0.94.0rc0 recompiled with the security profile *on* (-Psecurity) and  with -Dhadoop.profile=23 

The master fails on top of hadoop 0.23.x with the class not found error in these cases:
apache 0.92.1 right out of tarball
apache 0.92.1 with the security profile *off* with -Dhadoop.profile=23
apache 0.94.0rc0 right out of tarball.
apache 0.94.0rc0 security right out of tarball.
apache 0.94.0rc0 with the security profile *off* with -Dhadoop.profile=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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242668#comment-13242668 ] 

Zhihong Yu commented on HBASE-5680:
-----------------------------------

Using reflection should solve this problem.
                
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248135#comment-13248135 ] 

Hadoop QA commented on HBASE-5680:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12521651/hbase-5680-94.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

     -1 core tests.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/1428//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/1428//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1428//console

This message is automatically generated.
                
> 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
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Updated] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hsieh updated HBASE-5680:
----------------------------------

    Attachment: hbase-5680-94.patch

Attached version tested on 0.94.  
                
> 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
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243967#comment-13243967 ] 

ramkrishna.s.vasudevan commented on HBASE-5680:
-----------------------------------------------

@Jon
Let me try once again.  I tried compiling using 23 profile.  May be i missed something.  Will try again and update on that. Thanks
                
> 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

        

[jira] [Assigned] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hsieh reassigned HBASE-5680:
-------------------------------------

    Assignee: Jonathan Hsieh
    
> 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
>            Assignee: Jonathan Hsieh
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244978#comment-13244978 ] 

ramkrishna.s.vasudevan commented on HBASE-5680:
-----------------------------------------------

Can we patch HBase side to give a warning log for this?
                
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244283#comment-13244283 ] 

stack commented on HBASE-5680:
------------------------------



Yes.  Unless someone has a bit of reflection jujitsu they can apply here. It'd be a PITA shipping four tgzs.  Two is already too many.
                
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248117#comment-13248117 ] 

Zhihong Yu commented on HBASE-5680:
-----------------------------------

Is cdh4b1 the only 0.23 distro ?
                
> 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
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243970#comment-13243970 ] 

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

@Ram -- when I did it i used 'mvn package -DskipTests -Dhadoop.profile=23' and then ran from a copy of the dir generated in target/hbase-xxx/hbase-xxx.  If you run from the directory you ran the mvn command in, I think hbase will scripts will picked up hbase from that dir, or possibly the 1.0.0 version from the ~/.m2 dir. I think this is what caught me the first time I tried this.
                
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248103#comment-13248103 ] 

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

How to test:

* Setup hadoop hdfs 0.23.x cluster.
* Compile against 1.0.x hadoop. {{mvn clean package -DskipTests}}
* Make HBASE_HOME ./target/hbase-version/hbase-version
* Replace hadoop jars in ./target/hbase-version/hbase-version/lib/ with hadoop 23 jars.
* start hbase.
* Look at master log.

                
> 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
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Updated] (HBASE-5680) Improve compatibility warning about HBase with Hadoop 0.23.x

Posted by "Jonathan Hsieh (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hsieh updated HBASE-5680:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.96.0
                   0.94.0
                   0.92.2
                   0.90.7
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)
    
> Improve compatibility warning about HBase with Hadoop 0.23.x
> ------------------------------------------------------------
>
>                 Key: HBASE-5680
>                 URL: https://issues.apache.org/jira/browse/HBASE-5680
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>             Fix For: 0.90.7, 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248410#comment-13248410 ] 

stack commented on HBASE-5680:
------------------------------

+1 on patch
                
> 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
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248347#comment-13248347 ] 

Zhihong Yu commented on HBASE-5680:
-----------------------------------

Thanks for the reply, Jon.

                
> 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
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-5680-94.patch
>
>
> 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

        

[jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1

Posted by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244732#comment-13244732 ] 

Lars Hofhansl commented on HBASE-5680:
--------------------------------------

What's the general feeling w.r.t. to 0.94.0? Should I hold off RC1 for this?
                
> 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

        

[jira] [Commented] (HBASE-5680) Improve compatibility warning about HBase with Hadoop 0.23.x

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248581#comment-13248581 ] 

Hudson commented on HBASE-5680:
-------------------------------

Integrated in HBase-0.92 #360 (See [https://builds.apache.org/job/HBase-0.92/360/])
    HBASE-5680 Improve compatibility warning about HBase with Hadoop 0.23.x (Revision 1310434)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

                
> Improve compatibility warning about HBase with Hadoop 0.23.x
> ------------------------------------------------------------
>
>                 Key: HBASE-5680
>                 URL: https://issues.apache.org/jira/browse/HBASE-5680
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
>            Reporter: Kristam Subba Swathi
>            Assignee: Jonathan Hsieh
>             Fix For: 0.90.7, 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: hbase-5680-94.patch
>
>
> 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