This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Skip to end of metadata
Go to start of metadata

This document describes how to run service checks from the Ambari REST API. For example, to run the YARN service check:

POST
/api/v1/clusters/MyCluster/requests

{
  "RequestInfo" :
  {
    "context":"YARN Service Check",
    "command":"YARN_SERVICE_CHECK"
  },
  "Requests/resource_filters":
  [{
    "service_name":"YARN"
  }]
}

 

When using the HDP 2.1 Stack, use this table to map the API options to Service:

Service Nameservice_nameCommand
HDFSHDFS
HDFS_SERVICE_CHECK
YARNYARN
YARN_SERVICE_CHECK
MapReduce2MAPREDUCE2MAPREDUCE2_SERVICE_CHECK
HBaseHBASEHBASE_SERVICE_CHECK
HiveHIVEHIVE_SERVICE_CHECK
WebHCatWEBHCATWEBHCAT_SERVICE_CHECK
PigPIGPIG_SERVICE_CHECK
FalconFALCONFALCON_SERVICE_CHECK
StormSTORMSTORM_SERVICE_CHECK
OozieOOZIEOOZIE_SERVICE_CHECK
ZooKeeperZOOKEEPERZOOKEEPER_QUORUM_SERVICE_CHECK
  • No labels