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:01:05 UTC

[jira] [Created] (MAPREDUCE-6429) running M/R tasks under a security policy

Purvesh Patel created MAPREDUCE-6429:
----------------------------------------

             Summary: 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


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)