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 483F4200B4F for ; Tue, 26 Jul 2016 20:05:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 46D96160A92; Tue, 26 Jul 2016 18:05:22 +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 8D71E160A69 for ; Tue, 26 Jul 2016 20:05:21 +0200 (CEST) Received: (qmail 88781 invoked by uid 500); 26 Jul 2016 18:05:20 -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 88764 invoked by uid 99); 26 Jul 2016 18:05:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2016 18:05:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A7DAE2C0059 for ; Tue, 26 Jul 2016 18:05:20 +0000 (UTC) Date: Tue, 26 Jul 2016 18:05:20 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-17894) Adding Services After A Stack/Ambari Upgrade Shows Empty Required Values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 26 Jul 2016 18:05:22 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hurley updated AMBARI-17894: ------------------------------------- Status: Patch Available (was: Open) > Adding Services After A Stack/Ambari Upgrade Shows Empty Required Values > ------------------------------------------------------------------------ > > Key: AMBARI-17894 > URL: https://issues.apache.org/jira/browse/AMBARI-17894 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Blocker > Fix For: 2.4.0 > > Attachments: AMBARI-17894.patch > > > STR: > - Install Ambari 2.2.2 with Hive on HDP 2.4.2.0 and Kerberize > - Upgrade to Ambari 2.4.0 > - Upgrade to HDP 2.5 > - Distribute Keytabs > - Add a new service > At this point, the UI flags Hive as having configurations which need attention. The follow are all blank and are marked as required: > {code} > hive-site/hive.server2.authentication.ldap.url > hiveserver2-site/hive.conf.restricted.list > hiveserver2-site/hive.security.authenticator.manager > hiveserver2-site/hive.security.authorization.manager > {code} > There are actually two problems here: > - The Kerberos wizard interprets the stack advisor "delete" attribute and improperly sets config properties to blank instead of actually removing them > - The upgrade logic is adding properties back when it should not. > The Kerberos issue aside, we can't be adding properties back during upgrade stack merging when those properties were specifically removed by the stack advisor prior. > For example (Ambari 2.2.2 installed with HDP 2.x) > - Ambari 2.2.2 does not have {{foo-site/property}} for HDP 2.x > - Ambari 2.4.0 adds {{foo-site/property}} for HDP 2.x, but instructs the upgrade not to add it > - An upgrade to HDP 2.y sees that {{foo-site/property}} doesn't exist and thinks it's brand new and needs to be merged. > The upgrade logic should check to see if {{foo-site/property}} is part of both 2.x and 2.y default configurations. If it's part of both of them and is not currently set, then upgrade should NOT set it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)