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/06 17:37:44 UTC
[jira] Commented: (HIVE-90) TestGetDBs assumes a specific
File.list() order
[ https://issues.apache.org/jira/browse/HIVE-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654127#action_12654127 ]
Johan Oskarsson commented on HIVE-90:
-------------------------------------
Could someone review this please, it's a very minimal change.
> 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
> Components: Testing Infrastructure
> Affects Versions: 0.19.0
> Reporter: Johan Oskarsson
> Assignee: Johan Oskarsson
> Priority: Minor
> Fix For: 0.19.0
>
> Attachments: HIVE-90.patch, 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.