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

Steve Yeom commented on HIVE-19084:
-----------------------------------

if the test is based on a sorted order of the return list of "listStatus(..)", 
then it is not correct because listStatus API spec clearly indicates that the 
return list of files of the method "listStatus()" 
is not in a sorted order, for example, natural order. Checking a possible 
solution..

> 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
>            Priority: Major
>         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.



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

Reply via email to