Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B849717B18 for ; Wed, 28 Jan 2015 16:14:53 +0000 (UTC) Received: (qmail 54105 invoked by uid 500); 28 Jan 2015 16:14:54 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 54073 invoked by uid 500); 28 Jan 2015 16:14:54 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 54060 invoked by uid 99); 28 Jan 2015 16:14:53 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2015 16:14:53 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 2A1211D5D3E; Wed, 28 Jan 2015 16:14:49 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1109343421067781495==" MIME-Version: 1.0 Subject: Re: Review Request 30368: NodeManager start failed in secure cluster (container-executor permissions 0050 rather than 6050) From: "Dmitro Lisnichenko" To: "Dmitro Lisnichenko" Cc: "Andrew Onischuk" , "Ambari" Date: Wed, 28 Jan 2015 16:14:49 -0000 Message-ID: <20150128161449.25680.57313@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Dmitro Lisnichenko" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/30368/ X-Sender: "Dmitro Lisnichenko" References: <20150128161333.25680.19503@reviews.apache.org> In-Reply-To: <20150128161333.25680.19503@reviews.apache.org> Reply-To: "Dmitro Lisnichenko" X-ReviewRequest-Repository: ambari --===============1109343421067781495== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30368/#review70015 ----------------------------------------------------------- Ship it! Ship It! - Dmitro Lisnichenko On Jan. 28, 2015, 4:13 p.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30368/ > ----------------------------------------------------------- > > (Updated Jan. 28, 2015, 4:13 p.m.) > > > Review request for Ambari and Dmitro Lisnichenko. > > > Bugs: AMBARI-9376 > https://issues.apache.org/jira/browse/AMBARI-9376 > > > Repository: ambari > > > Description > ------- > > **Steps to Reproduce:** > > * Installed 10 node cluster > * While going through security wizard, nodemanager start failed on 6/7 hosts with same error message in nodemanager log. > org.apache.hadoop.util.Shell$ExitCodeException: Invalid permissions on > container-executor binary. > **The container-executor binary should be set setuid.** > Service NodeManager failed in state INITED; cause: > org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Failed to initialize > container executor > > **ls -ltrh /usr/lib/hadoop-yarn/bin/container-executor** > \----r-x---. 1 root hadoop 36K Apr 15 02:52 /usr/lib/hadoop-yarn/bin > /container-executor > > On One Host where nodemanager came up: > **ls -ltrh /usr/lib/hadoop-yarn/bin/container-executor** > \--Sr-s\--. 1 root hadoop 40K Apr 15 02:52 /usr/lib/hadoop-yarn/bin > /container-executor > > > Diffs > ----- > > ambari-common/src/main/python/resource_management/core/providers/system.py 6023e60 > > Diff: https://reviews.apache.org/r/30368/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > > --===============1109343421067781495==--