Returns a list of applications that satisfy the filter
Available since API v6.
name | type | description | default |
---|---|---|---|
clusterName | path | n/a | |
serviceName | path | The name of the service | n/a |
filter | query | A filter to apply to the applications. A basic filter tests the value of an attribute and looks something like 'executing = true' or 'user = root'. Multiple basic filters can be combined into a complex expression using standard and / or boolean logic and parenthesis. An example of a complex filter is: 'application_duration > 5s and (user = root or user = myUserName'). | |
from | query | Start of the period to query in ISO 8601 format (defaults to 5 minutes before the 'to' time). | n/a |
limit | query | The maximum number of applications to return. Applications will be
returned in the following order:
|
100 |
offset | query | The offset to start returning applications from. This is useful for paging through lists of applications. Note that this has non-deterministic behavior if executing applications are included in the response because they can disappear from the list while paging. To exclude executing applications from the response and a 'executing = false' clause to your filter. | 0 |
to | query | End of the period to query in ISO 8601 format (defaults to now). | now |
media type | data type | description |
---|---|---|
application/json | ApiYarnApplicationResponse (JSON) | A list of YARN applications and warnings. |
Returns the list of all attributes that the Service Monitor can associate with YARN applications.
Examples of attributes include the user who ran the application and the number of maps completed by the application.
These attributes can be used to search for specific YARN applications through the getYarnApplications API. For example the 'user' attribute could be used in the search 'user = root'. If the attribute is numeric it can also be used as a metric in a tsquery (ie, 'select maps_completed from YARN_APPLICATIONS').
Note that this response is identical for all YARN services.
Available since API v6.
name | type | description | default |
---|---|---|---|
clusterName | path | n/a | |
serviceName | path | n/a |
media type | data type |
---|---|
application/json | ApiYarnApplicationAttributeList (JSON) |
Kills an YARN Application
Available since API v6.
name | type | description | default |
---|---|---|---|
applicationId | path | The applicationId to kill | n/a |
clusterName | path | n/a | |
serviceName | path | The name of the service | n/a |
media type | data type | description |
---|---|---|
application/json | ApiYarnKillResponse (JSON) | A warning if there was one. Otherwise null. |