You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Arup Malakar (JIRA)" <ji...@apache.org> on 2012/12/12 01:09:21 UTC

[jira] [Commented] (HIVE-3789) Patch HIVE-3648 causing the majority of unit tests to fail on branch 0.9

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

Arup Malakar commented on HIVE-3789:
------------------------------------

Chris, I am seeing the errors too, I am investigating it. Meanwhile if someone has any clue on the following exception that I am seeing for the test failures:

{code}
    [junit] Running org.apache.hadoop.hive.ql.parse.TestContribParse
    [junit] Cleaning up TestContribParse
    [junit] Exception: MetaException(message:Got exception: java.lang.IllegalArgumentException Wrong FS: pfile:/Users/malakar/code/oss/hive_09/hive/build/contrib/test/data/warehouse/src_json, expected: file:///)
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 4.433 sec
    [junit] org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Got exception: java.lang.IllegalArgumentException Wrong FS: pfile:/Users/malakar/code/oss/hive_09/hive/build/contrib/test/data/warehouse/src_json, expected: file:///)
    [junit] 	at org.apache.hadoop.hive.ql.metadata.Hive.dropTable(Hive.java:813)
    [junit] 	at org.apache.hadoop.hive.ql.metadata.Hive.dropTable(Hive.java:789)
    [junit] 	at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:421)
    [junit] 	at org.apache.hadoop.hive.ql.QTestUtil.shutdown(QTestUtil.java:278)
    [junit] 	at org.apache.hadoop.hive.ql.parse.TestContribParse.tearDown(TestContribParse.java:59)
    [junit] 	at junit.framework.TestCase.runBare(TestCase.java:140)
    [junit] 	at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit] 	at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit] 	at junit.framework.TestResult.run(TestResult.java:113)
    [junit] 	at junit.framework.TestCase.run(TestCase.java:124)
    [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
    [junit] 	at junit.framework.TestSuite.run(TestSuite.java:238)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:520)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1060)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:911)
    [junit] Caused by: MetaException(message:Got exception: java.lang.IllegalArgumentException Wrong FS: pfile:/Users/malakar/code/oss/hive_09/hive/build/contrib/test/data/warehouse/src_json, expected: file:///)
    [junit] 	at org.apache.hadoop.hive.metastore.MetaStoreUtils.logAndThrowMetaException(MetaStoreUtils.java:785)
    [junit] 	at org.apache.hadoop.hive.metastore.HiveMetaStoreFsImpl.deleteDir(HiveMetaStoreFsImpl.java:61)
    [junit] 	at org.apache.hadoop.hive.metastore.Warehouse.deleteDir(Warehouse.java:200)
    [junit] 	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_table_core(HiveMetaStore.java:929)
    [junit] 	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_table(HiveMetaStore.java:944)
    [junit] 	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.dropTable(HiveMetaStoreClient.java:553)
    [junit] 	at org.apache.hadoop.hive.ql.metadata.Hive.dropTable(Hive.java:807)
    [junit] 	... 14 more
    [junit] Test org.apache.hadoop.hive.ql.parse.TestContribParse FAILED
      [for] /Users/malakar/code/oss/hive_09/hive/contrib/build.xml: The following error occurred while executing this line:
      [for] /Users/malakar/code/oss/hive_09/hive/build.xml:321: The following error occurred while executing this line:
      [for] /Users/malakar/code/oss/hive_09/hive/build-common.xml:448: Tests failed!
{code}
                
> Patch HIVE-3648 causing the majority of unit tests to fail on branch 0.9
> ------------------------------------------------------------------------
>
>                 Key: HIVE-3789
>                 URL: https://issues.apache.org/jira/browse/HIVE-3789
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Tests
>    Affects Versions: 0.9.0
>         Environment: Hadooop 0.23.5, JDK 1.6.0_31
>            Reporter: Chris Drome
>
> Rolling back to before this patch shows that the unit tests are passing, after the patch, the majority of the unit tests are failing.

--
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