[ https://issues.apache.org/jira/browse/MAPREDUCE-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996740#comment-13996740 ]
Chris Nauroth commented on MAPREDUCE-5889: ------------------------------------------ I think that makes sense. +1 for the proposal. Thanks, Akira. > 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)