hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Yeom (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19084) Test case in Hive Query Language fails with a java.lang.AssertionError.
Date Mon, 02 Apr 2018 23:20:00 GMT

    [ 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)

Mime
View raw message