Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B36318F69 for ; Wed, 8 Jul 2015 18:01:07 +0000 (UTC) Received: (qmail 31288 invoked by uid 500); 8 Jul 2015 18:01:05 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 31199 invoked by uid 500); 8 Jul 2015 18:01:05 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 30925 invoked by uid 99); 8 Jul 2015 18:01:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2015 18:01:05 +0000 Date: Wed, 8 Jul 2015 18:01:05 +0000 (UTC) From: "Purvesh Patel (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MAPREDUCE-6429) running M/R tasks under a security policy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)