Task Resources

API Summary

Properties

Status

The current status of a task resource can be determined by looking at the Tasks/status property.

GET api/v1/clusters/c1/requests/2/tasks/12?fields=Tasks/status

200 OK
{
  "href" : "your.ambari.server/api/v1/clusters/c1/requests/2/tasks/12?fields=Tasks/status",
  "Tasks" : {
  "cluster_name" : "c1",
  "id" : 12,
  "request_id" : 2,
  "status" : "COMPLETED"
}

The following table lists the possible values of the task resource Tasks/status.