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 14C7D11DC4 for ; Wed, 17 Sep 2014 13:02:04 +0000 (UTC) Received: (qmail 63104 invoked by uid 500); 17 Sep 2014 13:02:04 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 63090 invoked by uid 500); 17 Sep 2014 13:02:03 -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 63069 invoked by uid 99); 17 Sep 2014 13:02:03 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2014 13:02:03 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id B4D6C1DD3DD; Wed, 17 Sep 2014 13:02:01 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0324995263130344746==" MIME-Version: 1.0 Subject: Review Request 25733: Deploying Ambari with custom users fails From: "Andrew Onischuk" To: "Vitalyi Brodetskyi" Cc: "Andrew Onischuk" , "Ambari" Date: Wed, 17 Sep 2014 13:02:01 -0000 Message-ID: <20140917130201.7803.59507@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Andrew Onischuk" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/25733/ X-Sender: "Andrew Onischuk" Reply-To: "Andrew Onischuk" X-ReviewRequest-Repository: ambari --===============0324995263130344746== 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/25733/ ----------------------------------------------------------- Review request for Ambari and Vitalyi Brodetskyi. Bugs: AMBARI-7360 https://issues.apache.org/jira/browse/AMBARI-7360 Repository: ambari Description ------- go to step 'Customize services' set users as on attached screenshot deploy cluster deployment fails with: Fail: Execution of 'useradd -m -G custom-hadoop -s /bin/bash -g custom-hadoop hive' returned 6. useradd: group 'custom-hadoop' does not exist Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/api/util/StackExtensionHelper.java a63be38 ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java 790c177 ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java 06f46fe ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hadoop-env.xml 1de475e Diff: https://reviews.apache.org/r/25733/diff/ Testing ------- mvn clean test Thanks, Andrew Onischuk --===============0324995263130344746==--