You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2009/10/27 20:06:59 UTC

[jira] Closed: (HIVE-904) unit test failure in repair.q

     [ https://issues.apache.org/jira/browse/HIVE-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain closed HIVE-904.
---------------------------

    Assignee: Cyrus Katrak  (was: Prasad Chakka)

The duplicate jira got fixed

> unit test failure in repair.q
> -----------------------------
>
>                 Key: HIVE-904
>                 URL: https://issues.apache.org/jira/browse/HIVE-904
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Cyrus Katrak
>         Attachments: HIVE-904.patch
>
>
> It seems that the order of the output partitions are not deterministic.
> {code}
>     [junit] Begin query: repair.q
>     [junit] diff -a -I \(file:\)\|\(/tmp/.*\) -I lastUpdateTime -I lastAccessTime -I owner -I transient_lastDdlTime /data/users/zshao/tools/deploy-trunk-apache-hive/.ptest_0/build/ql/test/l\
> ogs/clientpositive/repair.q.out /data/users/zshao/tools/deploy-trunk-apache-hive/.ptest_0/ql/src/test/results/clientpositive/repair.q.out
>     [junit] 18c18
>     [junit] < Partitions not in metastore:      repairtable:p1=b/p2=a   repairtable:p1=a/p2=a
>     [junit] ---
>     [junit] > Partitions not in metastore:      repairtable:p1=a/p2=a   repairtable:p1=b/p2=a
>     [junit] 23,24c23
>     [junit] < Partitions not in metastore:      repairtable:p1=b/p2=a   repairtable:p1=a/p2=a
>     [junit] < Repair: Added partition to metastore repairtable:p1=b/p2=a
>     [junit] ---
>     [junit] > Partitions not in metastore:      repairtable:p1=a/p2=a   repairtable:p1=b/p2=a
>     [junit] 25a25
>     [junit] > Repair: Added partition to metastore repairtable:p1=b/p2=a
>     [junit] Exception: Client execution results failed with error code = 1
>     [junit] junit.framework.AssertionFailedError: Client execution results failed with error code = 1
>     [junit]     at junit.framework.Assert.fail(Assert.java:47)
>     [junit]     at org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_repair(TestCliDriver.java:3442)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
>     [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
>     [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
>     [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit]     at junit.framework.TestResult.run(TestResult.java:109)
>     [junit]     at junit.framework.TestCase.run(TestCase.java:118)
>     [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
>     [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.