You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by st...@apache.org on 2017/10/13 06:20:51 UTC

ambari git commit: AMBARI-22225. Cluster created using Blueprints rejects hosts even though their host_name matches host predicate. (stoader)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 f41d8359c -> db67f0385


AMBARI-22225. Cluster created using Blueprints rejects hosts even though their host_name matches host predicate. (stoader)


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

Branch: refs/heads/branch-2.6
Commit: db67f03850ecbafe1b580a719963b6b0f60f30d6
Parents: f41d835
Author: Toader, Sebastian <st...@hortonworks.com>
Authored: Thu Oct 12 21:34:32 2017 +0200
Committer: Toader, Sebastian <st...@hortonworks.com>
Committed: Fri Oct 13 07:51:52 2017 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/ambari/server/topology/HostRequest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/db67f038/ambari-server/src/main/java/org/apache/ambari/server/topology/HostRequest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/topology/HostRequest.java b/ambari-server/src/main/java/org/apache/ambari/server/topology/HostRequest.java
index 784c923..8aed8aa 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/topology/HostRequest.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/topology/HostRequest.java
@@ -488,7 +488,7 @@ public class HostRequest implements Comparable<HostRequest> {
     private void buildPropertyMap(Host host) {
       hostResource = new ResourceImpl(Resource.Type.Host);
 
-      hostResource.setProperty(HostResourceProvider.HOST_NAME_PROPERTY_ID,
+      hostResource.setProperty(HostResourceProvider.HOST_HOST_NAME_PROPERTY_ID,
           host.getHostName());
       hostResource.setProperty(HostResourceProvider.HOST_PUBLIC_NAME_PROPERTY_ID,
           host.getPublicHostName());