Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@locus.apache.org Received: (qmail 82554 invoked from network); 1 Dec 2008 11:18:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 11:18:06 -0000 Received: (qmail 59272 invoked by uid 500); 1 Dec 2008 11:18:17 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 59244 invoked by uid 500); 1 Dec 2008 11:18:17 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 59233 invoked by uid 99); 1 Dec 2008 11:18:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 03:18:17 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 11:16:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 230A1234C29F for ; Mon, 1 Dec 2008 03:17:45 -0800 (PST) Message-ID: <301552134.1228130265139.JavaMail.jira@brutus> Date: Mon, 1 Dec 2008 03:17:45 -0800 (PST) From: "Johan Oskarsson (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Created: (HIVE-90) TestGetDBs assumes a specific File.list() order MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.