[
https://issues.apache.org/jira/browse/AMBARI-18167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hurley reopened AMBARI-18167:
--------------------------------------
Reopened due to unit test failures indicating that this patch didn't actually
work:
{code}
junit.framework.AssertionFailedError: Missing
hdp_2_4_0_0_kafka_broker_deprecate_port in upgrade from HDP-2.3 to HDP-2.5
(ROLLING)
at
org.apache.ambari.server.state.stack.ConfigUpgradeValidityTest.assertIdDefinitionExists(ConfigUpgradeValidityTest.java:190)
at
org.apache.ambari.server.state.stack.ConfigUpgradeValidityTest.testConfigurationDefinitionsExist(ConfigUpgradeValidityTest.java:134)
{code}
> RU: Kafka brokers restart was stopped during downgrade cluster
> --------------------------------------------------------------
>
> Key: AMBARI-18167
> URL: https://issues.apache.org/jira/browse/AMBARI-18167
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Mugdha Varadkar
> Assignee: Mugdha Varadkar
> Priority: Blocker
> Labels: 240RMApproved
> Fix For: 2.4.0
>
> Attachments: AMBARI-18167.patch
>
>
> Kafka broker restart failed due to below error:
> {noformat}
> raise Fail("Configuration parameter '" + self.name + "' was not found in
> configurations dictionary!")
> resource_management.core.exceptions.Fail: Configuration parameter
> 'xasecure.audit.destination.db' was not found in configurations dictionary!
> {noformat}
> Solution:
> During RU downgrade, <pre-upgrade/> runs on downgrade as well, which deleted
> {{xasecure.audit.destination.db}} config property.
> {noformat}
> <pre-upgrade>
> <task xsi:type="configure"
> id="hdp_2_5_0_0_remove_ranger_kafka_audit_db" />
> </pre-upgrade>
> {noformat}
> Need to override it with a blank <pre-downgrade/> element.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)