Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
Deprecate o.a.h.mapreduce.lib.input.setInputPaths(Job, String) and o.a.h.mapreduce.lib.input.addInputPaths(Job, String). Use setInputPaths(Job, Path...) and addInputPaths(Job, Path...) instead.
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.
Attachments
Attachments
Issue Links
- relates to
-
MAPREDUCE-5886 Allow wordcount example job to accept multiple input paths.
- Closed