THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
This document describes how to run service checks from the Ambari REST API. For example, to run the YARN service check:
Code Block |
---|
POST
/api/v1/clusters/MyCluster/requests
{
"RequestInfo" :
{
"context":"YARN Service Check",
"command":"YARN_SERVICE_CHECK"
},
"Requests/resource_filters":
[{
"service_name":"YARN"
}]
}
|
...