You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2017/08/01 21:49:00 UTC
[jira] [Created] (AMBARI-21626) Configs For Target Stack Are Not
Created During Upgrade
Jonathan Hurley created AMBARI-21626:
----------------------------------------
Summary: Configs For Target Stack Are Not Created During Upgrade
Key: AMBARI-21626
URL: https://issues.apache.org/jira/browse/AMBARI-21626
Project: Ambari
Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Jonathan Hurley
Assignee: Jonathan Hurley
Priority: Blocker
Fix For: 2.6.0
During an upgrade from HDP 2.5 to HDP 2.6, the new configurations are not created in HDP 2.6 - they're created in HDP 2.5 which causes services to fail on restart.
STR:
- Create an HDP 2.5 cluster with ZK + HDFS
- Do an EU to HDP 2.6
The EU will fail right after the "move stack version" step.
It looks like the bug is in {{ConfigHelper}} where it ignores the passed-in {{StackId}} and uses the Cluster's stack:
{code}
Config createConfig(Cluster cluster, StackId stackId, AmbariManagementController controller,
String type, String tag, Map<String, String> properties,
Map<String, Map<String, String>> propertyAttributes) throws AmbariException {
...
return controller.createConfig(cluster, type, properties, tag, propertyAttributes);
}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)