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 AF27B100CA for ; Wed, 15 Jan 2014 14:39:24 +0000 (UTC) Received: (qmail 11326 invoked by uid 500); 15 Jan 2014 14:39:23 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 11250 invoked by uid 500); 15 Jan 2014 14:39:22 -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 11104 invoked by uid 99); 15 Jan 2014 14:39:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 14:39:20 +0000 Date: Wed, 15 Jan 2014 14:39:20 +0000 (UTC) From: "Vitaly Brodetskyi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3976) ambari-server setup -j option installs JDK to indicated location if it does not exist there 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-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872130#comment-13872130 ] Vitaly Brodetskyi commented on AMBARI-3976: ------------------------------------------- Patch attached. > ambari-server setup -j option installs JDK to indicated location if it does not exist there > ------------------------------------------------------------------------------------------- > > Key: AMBARI-3976 > URL: https://issues.apache.org/jira/browse/AMBARI-3976 > Project: Ambari > Issue Type: Bug > Reporter: Jonathan Maron > Assignee: Vitaly Brodetskyi > Attachments: AMBARI-3976.patch > > > As part of the savanna install of an ambari server I've added code to point to an already installed JDK location: > 2013-12-03 05:41:46.557 18771 DEBUG savanna.utils.remote [-] [dc1-master-001] Executing "ambari-server setup -s -j /opt/jdk1.6.0_31 > /dev/null 2>&1" _log_command /root/dev/savanna/savanna/utils/remote.py:384 > The interesting thing I've discovered is that if the JDK does not exist in that location the JDK is retrieved and installed in that location by ambari. I can't find any documentation indicating that behavior. Is it valid for me to assume this is expected behavior that will continue to be supported? It actually would simplify things for us (no need to check for the existence of the JDK in expected location on a remote VM prior to installation), but in that case I imagine this aspect of the feature should be documented and maintained going forward. -- This message was sent by Atlassian JIRA (v6.1.5#6160)