hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1522) FileInputFormat may change the file system of an input path
Date Wed, 03 Mar 2010 22:30:28 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840920#action_12840920
] 

Tsz Wo (Nicholas), SZE commented on MAPREDUCE-1522:
---------------------------------------------------

> -1 core tests. The patch failed core unit tests.
TestMiniMRLocalFS.testWithLocal failed with age=7.  It is not related to this.

> 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.


Mime
View raw message