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 "Purvesh Patel (JIRA)" <ji...@apache.org> on 2015/07/08 20:03:05 UTC
[jira] [Updated] (MAPREDUCE-6429) running M/R tasks under a
security policy
[ https://issues.apache.org/jira/browse/MAPREDUCE-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Purvesh Patel updated MAPREDUCE-6429:
-------------------------------------
Attachment: Patch.pdf
> 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)