You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Zac Hopkinson (JIRA)" <ji...@apache.org> on 2016/01/04 16:31:39 UTC
[jira] [Updated] (MAPREDUCE-6596) MultipleInputs does not escape
Path characters
[ https://issues.apache.org/jira/browse/MAPREDUCE-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zac Hopkinson updated MAPREDUCE-6596:
-------------------------------------
Assignee: (was: Zac Hopkinson)
> MultipleInputs does not escape Path characters
> ----------------------------------------------
>
> Key: MAPREDUCE-6596
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6596
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.6.2
> Reporter: Zac Hopkinson
> Labels: newbie
> Attachments: MAPRED-6596.001.patch, MAPRED-6596.002.patch
>
>
> Filenames containing commas or semicolons cause MultipleInputs to break since these characters are used for joining and storing the path names.
> MultipleInputs stores mapreduce.input.multipleinputs.dir.formats as:
> path;inputFormatClass,path2;inputFormatClass2[, ...]
> If a filename contains one of the characters used for joining the data then getInputFormatMap and getMapperTypeMap will fail.
> Looking at FileInputFormat.addInputPath() it uses escapeString and unescapeString from StringUtils. I took the same approach for escaping in MultipleInputs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)