From yarn-issues-return-13990-apmail-hadoop-yarn-issues-archive=hadoop.apache.org@hadoop.apache.org Tue Sep 3 21:13:52 2013 Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 29AD110180 for ; Tue, 3 Sep 2013 21:13:52 +0000 (UTC) Received: (qmail 77885 invoked by uid 500); 3 Sep 2013 21:13:51 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 77785 invoked by uid 500); 3 Sep 2013 21:13:51 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 77647 invoked by uid 99); 3 Sep 2013 21:13:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 21:13:51 +0000 Date: Tue, 3 Sep 2013 21:13:51 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-1137) Add support whitelist for system users to Yarn container-executor.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Alejandro Abdelnur created YARN-1137: ---------------------------------------- Summary: Add support whitelist for system users to Yarn container-executor.c Key: YARN-1137 URL: https://issues.apache.org/jira/browse/YARN-1137 Project: Hadoop YARN Issue Type: Improvement Components: nodemanager Affects Versions: 2.1.0-beta Reporter: Alejandro Abdelnur Assignee: Roman Shaposhnik Currently container-executor.c has a banned set of users (mapred, hdfs & bin) and configurable min.user.id (defaulting to 1000). This presents a problem for systems that run as system users (below 1000) if these systems want to start containers. Systems like Impala fit in this category. A (local) 'impala' system user is created when installing Impala on the nodes. Note that the same thing happens when installing system like HDFS, Yarn, Oozie, from packages (Bigtop); local system users are created. For Impala to be able to run containers in a secure cluster, the 'impala' system user must whitelisted. For this, adding a configuration 'allowed.system.users' option in the container-executor.cfg and the logic in container-executor.c would allow the usernames in that list. Because system users are not guaranteed to have the same UID in different machines, the 'allowed.system.users' property should use usernames and not UIDs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira