hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alisha Prabhu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-19084) Test case in Hive Query Language fails with a java.lang.AssertionError.
Date Mon, 14 May 2018 08:25:00 GMT

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

Alisha Prabhu updated HIVE-19084:
---------------------------------
    Description: 
The test case testInsertOverwriteForPartitionedMmTable in TestTxnCommandsForMmTable.java and
TestTxnCommandsForOrcMmTable.java fails with a java.lang.AssertionError.

Maven command used is mvn -Dtest=TestTxnCommandsForMmTable#testInsertOverwriteForPartitionedMmTable
test

The test case fails as the listStatus function of the FileSystem does not guarantee to return
the List of files/directories status in a sorted order.

Error :
{code:java}
[INFO] Running org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable
[ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 125.463 s <<<
FAILURE! - in org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable
[ERROR] testInsertOverwriteForPartitionedMmTable(org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable) 
Time elapsed: 13.57 s  <<< FAILURE!
java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable.testInsertOverwriteForPartitionedMmTable(TestTxnCommandsForMmTable.java:296)
{code}

  was:
The test case testInsertOverwriteForPartitionedMmTable in TestTxnCommandsForMmTable.java and
TestTxnCommandsForOrcMmTable.java fails with a java.lang.AssertionError.

Maven command used is mvn -Dtest=TestTxnCommandsForMmTable#testInsertOverwriteForPartitionedMmTable
test


The test case fails as the listStatus function of the FileSystem does not guarantee to return
the List of files/directories status in a sorted order.


> Test case in Hive Query Language fails with a java.lang.AssertionError.
> -----------------------------------------------------------------------
>
>                 Key: HIVE-19084
>                 URL: https://issues.apache.org/jira/browse/HIVE-19084
>             Project: Hive
>          Issue Type: Bug
>          Components: Test, Transactions
>         Environment: uname -a
> Linux pts00607-vm3 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:46 UTC 2018 ppc64le
ppc64le ppc64le GNU/Linux
>            Reporter: Alisha Prabhu
>            Assignee: Steve Yeom
>            Priority: Major
>              Labels: patch-available
>         Attachments: HIVE-19084.1.patch
>
>
> The test case testInsertOverwriteForPartitionedMmTable in TestTxnCommandsForMmTable.java
and TestTxnCommandsForOrcMmTable.java fails with a java.lang.AssertionError.
> Maven command used is mvn -Dtest=TestTxnCommandsForMmTable#testInsertOverwriteForPartitionedMmTable
test
> The test case fails as the listStatus function of the FileSystem does not guarantee to
return the List of files/directories status in a sorted order.
> Error :
> {code:java}
> [INFO] Running org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable
> [ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 125.463 s <<<
FAILURE! - in org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable
> [ERROR] testInsertOverwriteForPartitionedMmTable(org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable) 
Time elapsed: 13.57 s  <<< FAILURE!
> java.lang.AssertionError
>         at org.junit.Assert.fail(Assert.java:86)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at org.junit.Assert.assertTrue(Assert.java:52)
>         at org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable.testInsertOverwriteForPartitionedMmTable(TestTxnCommandsForMmTable.java:296)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message