incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-2945) YARN/MR2 components being shown as stopped with custom pid/log folders
Date Sat, 17 Aug 2013 19:35:47 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-2945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siddharth Wagle updated AMBARI-2945:
------------------------------------

    Attachment: AMBARI-2945-1.patch
    
> YARN/MR2 components being shown as stopped with custom pid/log folders
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-2945
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2945
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.4.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 1.4.0
>
>         Attachments: AMBARI-2945-1.patch, AMBARI-2945.patch
>
>
> During install I set custom pid/log folders for YARN components - {{/oooyarn/var/log/hadoop-yarn,
/oooyarn/var/run/hadoop-yarn}} for RM and {{/ooonm/var/log/hadoop/yarn}} for NM. 
> After install, all the processes started fine and alerts are all green, etc. However
the YARN service has a red-circle, showing RM as stopped. I have verified the process is up
and running fine. 
> In the API, the RM host component has state of {{INSTALLED}} and desired state of {{STARTED}}
> {noformat}
> {
>           "href" : "http://c6401:8080/api/v1/clusters/vmc/services/YARN/components/RESOURCEMANAGER",
>           "ServiceComponentInfo" : {
>             "StartTime" : 1376731292408,
>             "cluster_name" : "vmc",
>             "component_name" : "RESOURCEMANAGER",
>             "service_name" : "YARN",
>             "state" : "STARTED",
>             "desired_configs" : { },
>             "rm_metrics" : {
>               "cluster" : {
>                 "activeNMcount" : 3,
>                 "decommissionedNMcount" : 0,
>                 "lostNMcount" : 0,
>                 "nodeManagers" : "[{\"HostName\":\"c6402.ambari.apache.org\",\"Rack\":\"/default-rack\",\"State\":\"RUNNING\",\"NodeId\":\"c6402.ambari.apache.org:45454\",\"NodeHTTPAddress\":\"c6402.ambari.apache.org:8042\",\"LastHealthUpdate\":1376732903595,\"HealthReport\":\"\",\"NumContainers\":0,\"UsedMemoryMB\":0,\"AvailableMemoryMB\":10240},{\"HostName\":\"c6401.ambari.apache.org\",\"Rack\":\"/default-rack\",\"State\":\"RUNNING\",\"NodeId\":\"c6401.ambari.apache.org:45454\",\"NodeHTTPAddress\":\"c6401.ambari.apache.org:8042\",\"LastHealthUpdate\":1376732895497,\"HealthReport\":\"\",\"NumContainers\":0,\"UsedMemoryMB\":0,\"AvailableMemoryMB\":10240},{\"HostName\":\"c6403.ambari.apache.org\",\"Rack\":\"/default-rack\",\"State\":\"RUNNING\",\"NodeId\":\"c6403.ambari.apache.org:45454\",\"NodeHTTPAddress\":\"c6403.ambari.apache.org:8042\",\"LastHealthUpdate\":1376732983789,\"HealthReport\":\"\",\"NumContainers\":0,\"UsedMemoryMB\":0,\"AvailableMemoryMB\":10240}]",
>                 "rebootedNMcount" : 0,
>                 "unhealthyNMcount" : 0
>               }
>             }
>           },
>           "host_components" : [
>             {
>               "href" : "http://c6401:8080/api/v1/clusters/vmc/hosts/c6402.ambari.apache.org/host_components/RESOURCEMANAGER",
>               "HostRoles" : {
>                 "cluster_name" : "vmc",
>                 "component_name" : "RESOURCEMANAGER",
>                 "desired_stack_id" : "HDPLocal-2.0.5",
>                 "desired_state" : "STARTED",
>                 "ha_status" : "passive",
>                 "host_name" : "c6402.ambari.apache.org",
>                 "service_name" : "YARN",
>                 "stack_id" : "HDPLocal-2.0.5",
>                 "state" : "INSTALLED",
>                 "actual_configs" : {
>                   "capacity-scheduler" : {
>                     "tag" : "version1"
>                   },
>                   "core-site" : {
>                     "tag" : "version1"
>                   },
>                   "global" : {
>                     "tag" : "version1"
>                   },
>                   "hbase-site" : {
>                     "tag" : "version1"
>                   },
>                   "hdfs-site" : {
>                     "tag" : "version1"
>                   },
>                   "hive-site" : {
>                     "tag" : "version1"
>                   },
>                   "mapred-queue-acls" : {
>                     "tag" : "version1"
>                   },
>                   "mapred-site" : {
>                     "tag" : "version1"
>                   },
>                   "oozie-site" : {
>                     "tag" : "version1"
>                   },
>                   "webhcat-site" : {
>                     "tag" : "version1"
>                   },
>                   "yarn-site" : {
>                     "tag" : "version1"
>                   }
>                 },
>                 "configs" : { },
>                 "desired_configs" : { }
>               },
>               "metrics" : {
>                 "cpu" : {
>                   "cpu_wio" : 0.1
>                 }
>               }
>             }
>           ]
>         },
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message