[09/17] ambari git commit: AMBARI-21619. More ResourceManager HA host group placeholders in blueprints

2017-08-14 Thread jonathanhurley
AMBARI-21619. More ResourceManager HA host group placeholders in blueprints


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/78684fb7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/78684fb7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/78684fb7

Branch: refs/heads/branch-feature-AMBARI-21450
Commit: 78684fb7cb5058eb5ada6ab8fc8bcf664c24df9e
Parents: 9e8a039
Author: Attila Doroszlai 
Authored: Tue Aug 1 14:22:37 2017 +0200
Committer: Attila Doroszlai 
Committed: Fri Aug 11 13:50:47 2017 +0200

--
 .../BlueprintConfigurationProcessor.java| 18 +--
 .../BlueprintConfigurationProcessorTest.java| 34 +---
 2 files changed, 31 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/78684fb7/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
--
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
index 5fd2b5b..ab6a586 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
@@ -899,14 +899,14 @@ public class BlueprintConfigurationProcessor {
 Map yarnSiteConfig = 
clusterTopology.getConfiguration().getFullProperties().get("yarn-site");
 // generate the property names based on the current HA config for the 
ResourceManager deployments
 for (String resourceManager : parseResourceManagers(yarnSiteConfig)) {
-  final String rmHostPropertyName = "yarn.resourcemanager.hostname." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHostPropertyName, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPAddress = "yarn.resourcemanager.webapp.address." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPSAddress = 
"yarn.resourcemanager.webapp.https.address." + resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPSAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
+  SingleHostTopologyUpdater updater = new 
SingleHostTopologyUpdater("RESOURCEMANAGER");
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.hostname." + 
resourceManager, updater);
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.admin.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.resource-tracker.address."
 + resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.scheduler.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.https.address."
 + resourceManager, updater);
 }
 
 return highAvailabilityUpdaters;
@@ -1341,7 +1341,7 @@ public class BlueprintConfigurationProcessor {
 /**
  * Component name
  */
-private String component;
+private final String component;
 
 /**
  * Constructor.

http://git-wip-us.apache.org/repos/asf/ambari/blob/78684fb7/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
--
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
index c5af0d9..1959610 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
@@ -3359,6 +3359,14 @@ public class BlueprintConfigurationProcessorTest extends 
EasyMockSupport {
 yarnSiteProperties.put("yarn.resourcemanager.ha.rm-ids", "rm1, rm2");
 yarnSiteProperties.put("yarn.resourcemanager.hostname.rm1", 
expectedHostName);
 yarnSiteProperties.put("yarn.resourcemanager.hostname.rm2", 
expectedHostNameTwo);
+

ambari git commit: AMBARI-21619. More ResourceManager HA host group placeholders in blueprints

2017-08-11 Thread adoroszlai
Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 9e8a039bc -> 78684fb7c


AMBARI-21619. More ResourceManager HA host group placeholders in blueprints


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/78684fb7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/78684fb7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/78684fb7

Branch: refs/heads/branch-2.6
Commit: 78684fb7cb5058eb5ada6ab8fc8bcf664c24df9e
Parents: 9e8a039
Author: Attila Doroszlai 
Authored: Tue Aug 1 14:22:37 2017 +0200
Committer: Attila Doroszlai 
Committed: Fri Aug 11 13:50:47 2017 +0200

--
 .../BlueprintConfigurationProcessor.java| 18 +--
 .../BlueprintConfigurationProcessorTest.java| 34 +---
 2 files changed, 31 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/78684fb7/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
--
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
index 5fd2b5b..ab6a586 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
@@ -899,14 +899,14 @@ public class BlueprintConfigurationProcessor {
 Map yarnSiteConfig = 
clusterTopology.getConfiguration().getFullProperties().get("yarn-site");
 // generate the property names based on the current HA config for the 
ResourceManager deployments
 for (String resourceManager : parseResourceManagers(yarnSiteConfig)) {
-  final String rmHostPropertyName = "yarn.resourcemanager.hostname." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHostPropertyName, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPAddress = "yarn.resourcemanager.webapp.address." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPSAddress = 
"yarn.resourcemanager.webapp.https.address." + resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPSAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
+  SingleHostTopologyUpdater updater = new 
SingleHostTopologyUpdater("RESOURCEMANAGER");
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.hostname." + 
resourceManager, updater);
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.admin.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.resource-tracker.address."
 + resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.scheduler.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.https.address."
 + resourceManager, updater);
 }
 
 return highAvailabilityUpdaters;
@@ -1341,7 +1341,7 @@ public class BlueprintConfigurationProcessor {
 /**
  * Component name
  */
-private String component;
+private final String component;
 
 /**
  * Constructor.

http://git-wip-us.apache.org/repos/asf/ambari/blob/78684fb7/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
--
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
index c5af0d9..1959610 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
@@ -3359,6 +3359,14 @@ public class BlueprintConfigurationProcessorTest extends 
EasyMockSupport {
 yarnSiteProperties.put("yarn.resourcemanager.ha.rm-ids", "rm1, rm2");
 yarnSiteProperties.put("yarn.resourcemanager.hostname.rm1", 
expectedHostName);
 

[08/52] [abbrv] ambari git commit: AMBARI-21619. More ResourceManager HA host group placeholders in blueprints

2017-08-09 Thread jluniya
AMBARI-21619. More ResourceManager HA host group placeholders in blueprints


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0eee38e7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0eee38e7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0eee38e7

Branch: refs/heads/branch-feature-AMBARI-14714
Commit: 0eee38e7cd612cb6d57352b32074beed9b115b39
Parents: 11aadf5
Author: Attila Doroszlai 
Authored: Tue Aug 1 14:22:37 2017 +0200
Committer: Attila Doroszlai 
Committed: Tue Aug 1 14:22:37 2017 +0200

--
 .../BlueprintConfigurationProcessor.java| 18 +--
 .../BlueprintConfigurationProcessorTest.java| 34 +---
 2 files changed, 31 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/0eee38e7/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
--
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
index 46ace32..34102b6 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
@@ -917,14 +917,14 @@ public class BlueprintConfigurationProcessor {
 Map yarnSiteConfig = 
clusterTopology.getConfiguration().getFullProperties().get("yarn-site");
 // generate the property names based on the current HA config for the 
ResourceManager deployments
 for (String resourceManager : parseResourceManagers(yarnSiteConfig)) {
-  final String rmHostPropertyName = "yarn.resourcemanager.hostname." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHostPropertyName, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPAddress = "yarn.resourcemanager.webapp.address." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPSAddress = 
"yarn.resourcemanager.webapp.https.address." + resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPSAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
+  SingleHostTopologyUpdater updater = new 
SingleHostTopologyUpdater("RESOURCEMANAGER");
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.hostname." + 
resourceManager, updater);
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.admin.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.resource-tracker.address."
 + resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.scheduler.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.https.address."
 + resourceManager, updater);
 }
 
 return highAvailabilityUpdaters;
@@ -1371,7 +1371,7 @@ public class BlueprintConfigurationProcessor {
 /**
  * Component name
  */
-private String component;
+private final String component;
 
 /**
  * Constructor.

http://git-wip-us.apache.org/repos/asf/ambari/blob/0eee38e7/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
--
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
index 8a55136..34cd8a5 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
@@ -3406,6 +3406,14 @@ public class BlueprintConfigurationProcessorTest extends 
EasyMockSupport {
 yarnSiteProperties.put("yarn.resourcemanager.ha.rm-ids", "rm1, rm2");
 yarnSiteProperties.put("yarn.resourcemanager.hostname.rm1", 
expectedHostName);
 yarnSiteProperties.put("yarn.resourcemanager.hostname.rm2", 
expectedHostNameTwo);
+

[03/50] [abbrv] ambari git commit: AMBARI-21619. More ResourceManager HA host group placeholders in blueprints

2017-08-08 Thread lpuskas
AMBARI-21619. More ResourceManager HA host group placeholders in blueprints


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0eee38e7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0eee38e7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0eee38e7

Branch: refs/heads/feature-branch-AMBARI-21307
Commit: 0eee38e7cd612cb6d57352b32074beed9b115b39
Parents: 11aadf5
Author: Attila Doroszlai 
Authored: Tue Aug 1 14:22:37 2017 +0200
Committer: Attila Doroszlai 
Committed: Tue Aug 1 14:22:37 2017 +0200

--
 .../BlueprintConfigurationProcessor.java| 18 +--
 .../BlueprintConfigurationProcessorTest.java| 34 +---
 2 files changed, 31 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/0eee38e7/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
--
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
index 46ace32..34102b6 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
@@ -917,14 +917,14 @@ public class BlueprintConfigurationProcessor {
 Map yarnSiteConfig = 
clusterTopology.getConfiguration().getFullProperties().get("yarn-site");
 // generate the property names based on the current HA config for the 
ResourceManager deployments
 for (String resourceManager : parseResourceManagers(yarnSiteConfig)) {
-  final String rmHostPropertyName = "yarn.resourcemanager.hostname." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHostPropertyName, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPAddress = "yarn.resourcemanager.webapp.address." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPSAddress = 
"yarn.resourcemanager.webapp.https.address." + resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPSAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
+  SingleHostTopologyUpdater updater = new 
SingleHostTopologyUpdater("RESOURCEMANAGER");
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.hostname." + 
resourceManager, updater);
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.admin.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.resource-tracker.address."
 + resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.scheduler.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.https.address."
 + resourceManager, updater);
 }
 
 return highAvailabilityUpdaters;
@@ -1371,7 +1371,7 @@ public class BlueprintConfigurationProcessor {
 /**
  * Component name
  */
-private String component;
+private final String component;
 
 /**
  * Constructor.

http://git-wip-us.apache.org/repos/asf/ambari/blob/0eee38e7/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
--
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
index 8a55136..34cd8a5 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
@@ -3406,6 +3406,14 @@ public class BlueprintConfigurationProcessorTest extends 
EasyMockSupport {
 yarnSiteProperties.put("yarn.resourcemanager.ha.rm-ids", "rm1, rm2");
 yarnSiteProperties.put("yarn.resourcemanager.hostname.rm1", 
expectedHostName);
 yarnSiteProperties.put("yarn.resourcemanager.hostname.rm2", 
expectedHostNameTwo);
+

ambari git commit: AMBARI-21619. More ResourceManager HA host group placeholders in blueprints

2017-08-01 Thread adoroszlai
Repository: ambari
Updated Branches:
  refs/heads/trunk 11aadf532 -> 0eee38e7c


AMBARI-21619. More ResourceManager HA host group placeholders in blueprints


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0eee38e7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0eee38e7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0eee38e7

Branch: refs/heads/trunk
Commit: 0eee38e7cd612cb6d57352b32074beed9b115b39
Parents: 11aadf5
Author: Attila Doroszlai 
Authored: Tue Aug 1 14:22:37 2017 +0200
Committer: Attila Doroszlai 
Committed: Tue Aug 1 14:22:37 2017 +0200

--
 .../BlueprintConfigurationProcessor.java| 18 +--
 .../BlueprintConfigurationProcessorTest.java| 34 +---
 2 files changed, 31 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/0eee38e7/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
--
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
index 46ace32..34102b6 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
@@ -917,14 +917,14 @@ public class BlueprintConfigurationProcessor {
 Map yarnSiteConfig = 
clusterTopology.getConfiguration().getFullProperties().get("yarn-site");
 // generate the property names based on the current HA config for the 
ResourceManager deployments
 for (String resourceManager : parseResourceManagers(yarnSiteConfig)) {
-  final String rmHostPropertyName = "yarn.resourcemanager.hostname." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHostPropertyName, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPAddress = "yarn.resourcemanager.webapp.address." + 
resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
-
-  final String rmHTTPSAddress = 
"yarn.resourcemanager.webapp.https.address." + resourceManager;
-  yarnSiteUpdatersForAvailability.put(rmHTTPSAddress, new 
SingleHostTopologyUpdater("RESOURCEMANAGER"));
+  SingleHostTopologyUpdater updater = new 
SingleHostTopologyUpdater("RESOURCEMANAGER");
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.hostname." + 
resourceManager, updater);
+  yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.admin.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.resource-tracker.address."
 + resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.scheduler.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.address." + 
resourceManager, updater);
+  
yarnSiteUpdatersForAvailability.put("yarn.resourcemanager.webapp.https.address."
 + resourceManager, updater);
 }
 
 return highAvailabilityUpdaters;
@@ -1371,7 +1371,7 @@ public class BlueprintConfigurationProcessor {
 /**
  * Component name
  */
-private String component;
+private final String component;
 
 /**
  * Constructor.

http://git-wip-us.apache.org/repos/asf/ambari/blob/0eee38e7/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
--
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
index 8a55136..34cd8a5 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
@@ -3406,6 +3406,14 @@ public class BlueprintConfigurationProcessorTest extends 
EasyMockSupport {
 yarnSiteProperties.put("yarn.resourcemanager.ha.rm-ids", "rm1, rm2");
 yarnSiteProperties.put("yarn.resourcemanager.hostname.rm1", 
expectedHostName);