Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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
Description
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 :
[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)