[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira AJISAKA updated MAPREDUCE-5889:
-------------------------------------

    Description: 
{{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.

  was:
{{FileInputFormat.setInputPaths(JobConf conf, String commaSeparatedPaths)}} and 
{{FileInputFormat.addInputPaths(JobConf conf, 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(JobConf 
conf, Path... inputPaths)}} and {{addInputPaths(JobConf conf, Path... 
inputPaths)}} instead.

        Summary: Deprecate FileInputFormat.setInputPaths(Job, String) and 
FileInputFormat.addInputPaths(Job, String)  (was: Deprecate 
FileInputFormat.setInputPaths(JobConf, String) and 
FileInputFormat.addInputPaths(JobConf, String))

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