Cheolsoo Park created PIG-2977:
----------------------------------

             Summary: TestHBaseStorage fails with hadoop-2.0.x
                 Key: PIG-2977
                 URL: https://issues.apache.org/jira/browse/PIG-2977
             Project: Pig
          Issue Type: Sub-task
            Reporter: Cheolsoo Park


To reproduce, please run:
{code}
ant clean test -Dtestcase=TestHBaseStorage -Dhadoopversion=23
{code}

In the test log, HBase master fails to start with the following error:
{code}
2012-10-15 14:01:28,455 FATAL [Master:0;cheolsoo-mr2-1.ent.cloudera.com:46920] 
master.HMaster (HMaster.java:abort(936)) - Unhandled exception. Starting 
shutdown.
java.lang.NoClassDefFoundError: 
org/apache/hadoop/hdfs/protocol/FSConstants$SafeModeAction
        at org.apache.hadoop.hbase.util.FSUtils.waitOnSafeMode(FSUtils.java:280)
        at 
org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:229)
        at 
org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:105)
        at 
org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:90)
        at 
org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:341)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:277)
        at java.lang.Thread.run(Thread.java:662)
{code}

This is because hbase.jar in the maven repository is not compatible with hadoop 
23/2.0 (HBASE-5680).

The proposed fix is to disable this test in MR2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to