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

Tsuyoshi OZAWA commented on MAPREDUCE-5889:
-------------------------------------------

4. Should we change not only 
org.apache.hadoop.mapreduce.lib.input.FileInputFormat but also 
org.apache.hadoop.mapred.FileInputFormat?



> Deprecate FileInputFormat.setInputPaths(Job, String) and 
> FileInputFormat.addInputPaths(Job, String)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5889
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5889
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Akira AJISAKA
>            Assignee: Akira AJISAKA
>            Priority: Minor
>              Labels: newbie
>         Attachments: MAPREDUCE-5889.patch, MAPREDUCE-5889.patch
>
>
> {{FileInputFormat.setInputPaths(Job job, String commaSeparatedPaths)}} and 
> {{FileInputFormat.addInputPaths(Job job, String commaSeparatedPaths)}} fail 
> to parse commaSeparatedPaths if a comma is included in the file path. (e.g. 
> Path: {{/path/file,with,comma}})
> We should deprecate these methods and document to use {{setInputPaths(Job 
> job, Path... inputPaths)}} and {{addInputPaths(Job job, Path... inputPaths)}} 
> instead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to