You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Johan Oskarsson (JIRA)" <ji...@apache.org> on 2008/12/01 12:31:44 UTC

[jira] Updated: (HIVE-90) TestGetDBs assumes a specific File.list() order

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

Johan Oskarsson updated HIVE-90:
--------------------------------

    Attachment: HIVE-90.patch

Makes sure the unit test doesn't check the order of the dbs in the list

> TestGetDBs assumes a specific File.list() order
> -----------------------------------------------
>
>                 Key: HIVE-90
>                 URL: https://issues.apache.org/jira/browse/HIVE-90
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HIVE-90.patch
>
>
> In the latest trunk TestGetDBs fail on my ubuntu machine. The reason is that it assumes the result from FileStore.getDatabases returns the databases in a specific order. getDatabases() in turn gets the output from File.list() that doesn't guarantee the order.
> http://java.sun.com/javase/6/docs/api/java/io/File.html#list()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.