[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Purvesh Patel updated MAPREDUCE-6429:
-------------------------------------
    Attachment: MAPREDUCE-6429-1.patch

> 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: MAPREDUCE-6429-1.patch
>
>
> 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)

Reply via email to