Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 35288 invoked from network); 29 Dec 2009 23:10:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Dec 2009 23:10:52 -0000 Received: (qmail 47136 invoked by uid 500); 29 Dec 2009 23:10:52 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 47063 invoked by uid 500); 29 Dec 2009 23:10:52 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 47053 invoked by uid 99); 29 Dec 2009 23:10:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2009 23:10:52 +0000 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; Tue, 29 Dec 2009 23:10:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9625F234C4AB for ; Tue, 29 Dec 2009 15:10:29 -0800 (PST) Message-ID: <1991596368.1262128229613.JavaMail.jira@brutus.apache.org> Date: Tue, 29 Dec 2009 23:10:29 +0000 (UTC) From: "Kay Kay (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1334) contrib/index - test - TestIndexUpdater fails due to an additional presence of file _SUCCESS in hdfs In-Reply-To: <372641898.1261736249408.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kay Kay updated MAPREDUCE-1334: ------------------------------- Attachment: (was: MAPREDUCE-1334.patch) > contrib/index - test - TestIndexUpdater fails due to an additional presence of file _SUCCESS in hdfs > ----------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-1334 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1334 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test > Reporter: Kay Kay > Fix For: 0.21.0 > > Attachments: MAPREDUCE-1334.patch > > > $ cd src/contrib/index > $ ant clean test > This fails the test TestIndexUpdater due to a mismatch in the - doneFileNames - data structure, when it is being run with different parameters. > (ArrayIndexOutOfBoundsException raised when inserting elements in doneFileNames, array ). > Debugging further - there seems to be an additional file called as - hdfs://localhost:36021/myoutput/_SUCCESS , taken into consideration in addition to those that begins with done* . The presence of the extra file causes the error. > Attaching a patch that would circumvent this by increasing the array length of shards by 1 . > But longer term the test fixtures need to be probably revisited to see if the presence of _SUCCESS as a file is a good thing to begin with before we even get to this test case. > Any comments / suggestions on the same welcome. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.