Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9076A200CA3 for ; Wed, 17 May 2017 18:09:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8F2F7160BBA; Wed, 17 May 2017 16:09:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D9B53160BB5 for ; Wed, 17 May 2017 18:09:08 +0200 (CEST) Received: (qmail 54314 invoked by uid 500); 17 May 2017 16:09:08 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 54264 invoked by uid 99); 17 May 2017 16:09:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2017 16:09:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B3F43D0BDC for ; Wed, 17 May 2017 16:09:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id E1gVfJi3pFof for ; Wed, 17 May 2017 16:09:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6131B60DC2 for ; Wed, 17 May 2017 16:09:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D96AFE0D56 for ; Wed, 17 May 2017 16:09:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5911E263B5 for ; Wed, 17 May 2017 16:09:04 +0000 (UTC) Date: Wed, 17 May 2017 16:09:04 +0000 (UTC) From: "Dmytro Sen (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-20532) Ambari-server CLI to setup Database Options Broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 17 May 2017 16:09:09 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmytro Sen updated AMBARI-20532: -------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Committed to trunk > Ambari-server CLI to setup Database Options Broken > -------------------------------------------------- > > Key: AMBARI-20532 > URL: https://issues.apache.org/jira/browse/AMBARI-20532 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.2 > Environment: Testing > Reporter: David Streever > Assignee: Dmytro Sen > Priority: Critical > Fix For: 3.0.0 > > Attachments: AMBARI-20532_2.patch > > > When trying to automate the configuration of Ambari through the 'ambari-server setup' with options to setup the database and JDK, the return claims success but fails to make adjustments to 'ambari.properties' and 'password.dat' files. > Example CLI Call: > /usr/sbin/ambari-server setup --java-home=/usr/java/default --database=mysql --databasehost="db.hdp.local" --databaseport=3306 --databasename=ambari --databaseusername=ambari --databasepassword=hortonworks --jdbc-driver=/usr/share/java/mysql-connector-java.jar --jdbc-db=mysql --master-key=hortonworks --master-key-persist=true --truststore-type=jceks --truststore-path=/etc/ambari-server/conf/password.jceks --truststore-password=hortonworks -v -g -- This message was sent by Atlassian JIRA (v6.3.15#6346)