You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2014/05/13 09:00:20 UTC

[jira] [Created] (MAPREDUCE-5889) Deprecate FileInputFormat.setInputPaths(JobConf, String) and FileInputFormat.addInputPaths(JobConf, String)

Akira AJISAKA created MAPREDUCE-5889:
----------------------------------------

             Summary: 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


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