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

Yarn ATS show alert at single node cluster via blueprints without slave components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.1
    • stacks
    • None

    Description

      STR:
      Setup single-node cluster with HDFS + ZooKeeperServer + ZooKeeperClient + NameNode + DataNode + SNameNode + AppTimelineServer + ResourceManager + History Server via blueprint

      {
        "configurations": [],
        "host_groups": [
          {
            "name": "host1",
            "cardinality": "1",
            "components": [
              {
                "name": "ZOOKEEPER_SERVER"
              },
              {
                "name": "ZOOKEEPER_CLIENT"
              },
              {
                "name": "NAMENODE"
              },
              {
                "name": "DATANODE"
              },
              {
                "name": "SECONDARY_NAMENODE"
              },
              {
                "name": "APP_TIMELINE_SERVER"
              },
              {
                "name": "RESOURCEMANAGER"
              },
              {
                "name": "HISTORYSERVER"
              }
            ]
          }
        ],
        "Blueprints": {
          "blueprint_name": "HDFS",
          "stack_name": "HDP",
          "stack_version": "2.3"
        }
      }
      
      {
        "blueprint": "HDFS",
        "default_password": "password",
        "config_recommendation_strategy": "NEVER_APPLY",
        "host_groups": [
          {
            "name": "host1",
            "hosts": [
              {
                "fqdn": "c6401.ambari.apache.org",
                "ip": "192.168.64.101"
              }
            ]
          }
        ]
      }
      

      Result:

      {
            "href" : "http://172.22.102.83:8080/api/v1/clusters/cl1/alerts/9",
            "Alert" : {
              "cluster_name" : "cl1",
              "component_name" : "APP_TIMELINE_SERVER",
              "definition_id" : 12,
              "definition_name" : "yarn_app_timeline_server_webui",
              "host_name" : "os-d7-fqzlzu-ambari-rare-4-5.novalocal",
              "id" : 9,
              "instance" : null,
              "label" : "App Timeline Web UI",
              "latest_timestamp" : 1449793737507,
              "maintenance_state" : "OFF",
              "original_timestamp" : 1449793497237,
              "scope" : "ANY",
              "service_name" : "YARN",
              "state" : "CRITICAL",
              "text" : "Connection failed to http://os-d7-fqzlzu-ambari-rare-4-5.novalocal:8188 (<urlopen error [Errno 111] Connection refused>)"
            }
          },
      

      Attachments

        1. AMBARI-14464.patch
          0.9 kB
          Dmytro Sen

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              dsen Dmytro Sen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: