Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0CDD19EB1 for ; Mon, 2 Apr 2012 02:20:52 +0000 (UTC) Received: (qmail 67612 invoked by uid 500); 2 Apr 2012 02:20:51 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 67579 invoked by uid 500); 2 Apr 2012 02:20:51 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 67571 invoked by uid 99); 2 Apr 2012 02:20:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 02:20:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 02:20:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A0DA1352430 for ; Mon, 2 Apr 2012 02:20:27 +0000 (UTC) Date: Mon, 2 Apr 2012 02:20:27 +0000 (UTC) From: "Jonathan Hsieh (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <854002816.4177.1333333227703.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <188465921.37196.1333100675155.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5680) Hbase94 and Hbase 92.2 is not compatible with the Hadoop 23.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.(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