ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17894) Adding Services After A Stack/Ambari Upgrade Shows Empty Required Values
Date Tue, 26 Jul 2016 19:41:20 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-17894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15394416#comment-15394416
] 

Hudson commented on AMBARI-17894:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #5392 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5392/])
AMBARI-17894 - Adding Services After A Stack/Ambari Upgrade Shows Empty (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5261c76c62ec06af77d04bc5e0a9f128d3be12b2])
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/StackUpgradeConfigurationMergeTest.java
* ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/hiveserver2-site.xml


> 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)

Mime
View raw message