[
https://issues.apache.org/jira/browse/MAPREDUCE-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978139#action_12978139
]
Tom White commented on MAPREDUCE-2052:
--------------------------------------
I think the problem (on 0.20.0) is that characters in the file path before the
final name are not URL encoded. See
JobHistory.JobInfo.encodeJobHistoryFilePath().
The fix in https://issues.apache.org/jira/browse/MAPREDUCE-1378 for 0.21.0
onwards (where the code is radically different due to MAPREDUCE-157) is not
comprehensive, as noted there. Also, as
[noted|https://issues.apache.org/jira/browse/MAPREDUCE-1378?focusedCommentId=12800619&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12800619]
by Amar there, the fix is to introduce a helper function like
JobHistory.JobInfo.encodeJobHistoryFilePath() that encodes the whole path, not
just the file name.
> Fix URL encoding of job history logfiles
> ----------------------------------------
>
> Key: MAPREDUCE-2052
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2052
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 0.20.1, 0.20.2
> Reporter: Patrick Angeles
> Attachments: mapred-2052-0.20-patch.txt
>
>
> MAPREDUCE-1378 attempts to address this issue but sometimes results in
> doubly-URL-encoded logFile paths.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.