Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 4213 invoked from network); 3 Mar 2010 04:17:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Mar 2010 04:17:54 -0000 Received: (qmail 49709 invoked by uid 500); 3 Mar 2010 04:17:48 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 49665 invoked by uid 500); 3 Mar 2010 04:17:48 -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 49446 invoked by uid 99); 3 Mar 2010 04:17:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 04:17:48 +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; Wed, 03 Mar 2010 04:17:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3BDEB234C4C3 for ; Wed, 3 Mar 2010 04:17:27 +0000 (UTC) Message-ID: <1616710898.23841267589847244.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Mar 2010 04:17:27 +0000 (UTC) From: "Hadoop QA (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1522) FileInputFormat may change the file system of an input path In-Reply-To: <502228246.444721266876027910.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840449#action_12840449 ] Hadoop QA commented on MAPREDUCE-1522: -------------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12437503/m1522_20100301.patch against trunk revision 918206. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 5 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/14/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/14/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/14/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/14/console This message is automatically generated. > FileInputFormat may change the file system of an input path > ----------------------------------------------------------- > > Key: MAPREDUCE-1522 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1522 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Priority: Blocker > Fix For: 0.20.3 > > Attachments: m1522_20100224.patch, m1522_20100224_0.20.patch, m1522_20100301.patch, m1552_20100223_0.20.patch > > > org.apache.hadoop.mapreduce.lib.input.FileInputFormat.addInputPath(Job job, Path path) uses the default FileSystem but not the FileSystem specified in the path. > {code} > //org.apache.hadoop.mapreduce.lib.input.FileInputFormat > public static void addInputPath(Job job, > Path path) throws IOException { > Configuration conf = job.getConfiguration(); > FileSystem fs = FileSystem.get(conf); > path = path.makeQualified(fs); // the original FileSystem is lost. > ... > } > {code} > There is a similar problem in FileInputFormat.setInputPaths(..). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.