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)

Reply via email to