hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zac Hopkinson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6596) MultipleInputs does not escape Path characters
Date Mon, 04 Jan 2016 15:31:39 GMT

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

Mime
View raw message