You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2018/06/01 18:02:00 UTC
[jira] [Updated] (HIVE-19084) Test case in Hive Query Language
fails with a java.lang.AssertionError.
[ https://issues.apache.org/jira/browse/HIVE-19084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanth Jayachandran updated HIVE-19084:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 4.0.0
Target Version/s: 4.0.0
Status: Resolved (was: Patch Available)
Committed to master. Thanks [~alishap] for the patch and [~steveyeom2017] for the review!
> 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: Alisha Prabhu
> Priority: Major
> Labels: patch-available
> Fix For: 4.0.0
>
> Attachments: HIVE-19084.02.patch, HIVE-19084.03.patch, HIVE-19084.1.patch
>
>
> The test case testInsertOverwriteForPartitionedMmTable in TestTxnCommandsForMmTable.java and TestTxnCommandsForOrcMmTable.java fails with a java.lang.AssertionError on ppc arch.
> Maven command used is mvn -Dtest=TestTxnCommandsForMmTable 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)