You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2012/10/15 23:21:03 UTC

[jira] [Created] (PIG-2977) TestHBaseStorage fails with hadoop-2.0.x

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

[jira] [Resolved] (PIG-2977) TestHBaseStorage fails with hadoop-2.0.x

Posted by "Cheolsoo Park (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheolsoo Park resolved PIG-2977.
--------------------------------

    Resolution: Not A Problem

In fact, TestHBaseStorage is already excluded by
{code}
test/excluded-tests-23:**/TestHBaseStorage.java
{code}

So it won't run unless run it explicitly with -Dtestcase=TestHBaseStorage.
                
> 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
>             Fix For: 0.11
>
>
> 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