You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2015/12/22 14:52:46 UTC

[jira] [Created] (AMBARI-14464) Yarn ATS show alert at single node cluster via blueprints without slave components

Dmytro Sen created AMBARI-14464:
-----------------------------------

             Summary: Yarn ATS show alert at single node cluster via blueprints without slave components
                 Key: AMBARI-14464
                 URL: https://issues.apache.org/jira/browse/AMBARI-14464
             Project: Ambari
          Issue Type: Bug
          Components: stacks
    Affects Versions: 2.2.0
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
             Fix For: 2.2.1


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

{code}
{
  "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"
  }
}
{code}

{code}
{
  "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"
        }
      ]
    }
  ]
}
{code}

Result: 

{code}
{
      "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>)"
      }
    },
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)