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 1BF5317C1D for ; Thu, 18 Jun 2015 10:15:01 +0000 (UTC) Received: (qmail 73193 invoked by uid 500); 18 Jun 2015 10:15:01 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 73160 invoked by uid 500); 18 Jun 2015 10:15:01 -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 73146 invoked by uid 99); 18 Jun 2015 10:15:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2015 10:15:00 +0000 Date: Thu, 18 Jun 2015 10:15:00 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-11988) NonRoot: Ambari-Server setup fails when jdk is preinstalled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-11988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591600#comment-14591600 ] Hudson commented on AMBARI-11988: --------------------------------- SUCCESS: Integrated in Ambari-branch-2.1 #67 (See [https://builds.apache.org/job/Ambari-branch-2.1/67/]) AMBARI-11988: NonRoot: Ambari-Server setup fails when jdk is preinstalled (jluniya) (jluniya: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a44c367dd450cd86c0a9df12fa61ac87d9714d5a) * ambari-server/src/main/python/ambari_server/setupSecurity.py > NonRoot: Ambari-Server setup fails when jdk is preinstalled > ----------------------------------------------------------- > > Key: AMBARI-11988 > URL: https://issues.apache.org/jira/browse/AMBARI-11988 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.1.0 > Reporter: Jayush Luniya > Assignee: Jayush Luniya > Priority: Critical > Fix For: 2.1.0 > > Attachments: AMBARI-11988.patch > > > ambari-server setup fails when java jdk is pre-installed. > Logs: > helios1:/data/pghadoop # ambari-server setup -s -j /opt/teradata/jvm64/jdk8 > Using python /usr/bin/python2.6 > Setup ambari-server > Checking SELinux... > WARNING: Could not run /usr/sbin/sestatus: OK > Customize user account for ambari-server daemon [y/n] (n)? > ERROR: Unexpected error local variable 'jce_file_path' referenced before assignment > ERROR: Exiting with exit code 1. > REASON: Failed to create user. Exiting. > Fix: > Fix typo in setupSecurity.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)