Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22225

Cluster created using Blueprints rejects hosts even though their host_name matches host predicate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.6.0
    • ambari-server
    • None

    Description

      Cluster created with Blueprint using host predicates rejects hosts even though their host_name matches the host predicate.

      { "name": "workernode", "host_count": "2", "host_predicate": "Hosts/host_name.matches(agent-*)" }
      11 Oct 2017 17:03:11,296  INFO [qtp-ambari-agent-56] TopologyManager:698 - TopologyManager: Queueing available host agent-1
      11 Oct 2017 17:04:56,783  INFO [ambari-client-thread-45] TopologyManager:876 - TopologyManager.processRequest: offering host name = agent-1 to LogicalRequest ID = 1
      11 Oct 2017 17:04:56,783  INFO [ambari-client-thread-45] LogicalRequest:101 - LogicalRequest.offer: attempting to match a request to a request for a reserved host to hostname = agent-1
      11 Oct 2017 17:04:56,784  INFO [ambari-client-thread-45] LogicalRequest:125 - LogicalRequest.offer: attempting to match a request to a request for a non-reserved host to hostname = agent-1
      11 Oct 2017 17:04:56,791  INFO [ambari-client-thread-45] LogicalRequest:138 - LogicalRequest.offer: host request returned DECLINED_PREDICATE for hostname = agent-1
      11 Oct 2017 17:04:56,792  INFO [ambari-client-thread-45] LogicalRequest:125 - LogicalRequest.offer: attempting to match a request to a request for a non-reserved host to hostname = agent-1
      11 Oct 2017 17:04:56,793  INFO [ambari-client-thread-45] LogicalRequest:138 - LogicalRequest.offer: host request returned DECLINED_PREDICATE for hostname = agent-1
      11 Oct 2017 17:04:56,794  INFO [ambari-client-thread-45] TopologyManager:896 - TopologyManager.processRequest: host name = agent-1 was DECLINED_PREDICATE by LogicalRequest ID = 1
      

      Attachments

        1. AMBARI-22225.b2.6.v1.patch
          0.9 kB
          Sebastian Toader

        Issue Links

          Activity

            People

              stoader Sebastian Toader
              stoader Sebastian Toader
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: