[
https://issues.apache.org/jira/browse/MAPREDUCE-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996815#comment-13996815
]
Chen He commented on MAPREDUCE-5889:
------------------------------------
Agreed. +1 for the idea
> Deprecate FileInputFormat.setInputPaths(JobConf, String) and
> FileInputFormat.addInputPaths(JobConf, String)
> -----------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-5889
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5889
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Reporter: Akira AJISAKA
> Priority: Minor
> Labels: newbie
>
> {{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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)