[
https://issues.apache.org/jira/browse/MAPREDUCE-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14619651#comment-14619651
]
Gabor Liptak commented on MAPREDUCE-6429:
-----------------------------------------
[~ppatel] Please consider uploading a text patch file with your changes.
http://wiki.apache.org/hadoop/HowToContribute
> running M/R tasks under a security policy
> -----------------------------------------
>
> Key: MAPREDUCE-6429
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6429
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: mrv2
> Affects Versions: 2.5.0
> Reporter: Purvesh Patel
> Priority: Minor
> Attachments: Patch.pdf
>
>
> When running M/R tasks under a security policy without the
> 'java.lang.reflect.ReflectPermission suppressAccessChecks' granted to the
> user code, we are unable to instantiate new keys for a WritableComparator.
> This patch wraps the WritableComparator#newKey in a doPrivileged block
> handling non-public key constructors. Please see attached file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)