123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405 |
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2?fields=tasks/*",
- "Requests" : {
- "id" : 2,
- "cluster_name" : "mycluster"
- },
- "tasks" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/37",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host4",
- "id" : 37,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "TASKTRACKER",
- "start_time" : -1,
- "stage_id" : 2
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/25",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host1",
- "id" : 25,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/42",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 42,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "EXECUTE",
- "role" : "PIG_SERVICE_CHECK",
- "start_time" : -1,
- "stage_id" : 3
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/32",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 32,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "DATANODE",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/31",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host4",
- "id" : 31,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/33",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 33,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/26",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host5",
- "id" : 26,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/44",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 44,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "EXECUTE",
- "role" : "OOZIE_SERVICE_CHECK",
- "start_time" : -1,
- "stage_id" : 4
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/36",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host1",
- "id" : 36,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "TASKTRACKER",
- "start_time" : -1,
- "stage_id" : 2
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/34",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host3",
- "id" : 34,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "JOBTRACKER",
- "start_time" : -1,
- "stage_id" : 2
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/35",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host3",
- "id" : 35,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "SECONDARY_NAMENODE",
- "start_time" : -1,
- "stage_id" : 2
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/38",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 38,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "EXECUTE",
- "role" : "HDFS_SERVICE_CHECK",
- "start_time" : -1,
- "stage_id" : 2
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/29",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host5",
- "id" : 29,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "NAMENODE",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/28",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host5",
- "id" : 28,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "NAGIOS_SERVER",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/24",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host1",
- "id" : 24,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "DATANODE",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/40",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host3",
- "id" : 40,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "OOZIE_SERVER",
- "start_time" : -1,
- "stage_id" : 3
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/39",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 39,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "TASKTRACKER",
- "start_time" : -1,
- "stage_id" : 2
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/23",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host3",
- "id" : 23,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/27",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host5",
- "id" : 27,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "GANGLIA_SERVER",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/30",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host4",
- "id" : 30,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "START",
- "role" : "DATANODE",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/43",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 43,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "EXECUTE",
- "role" : "SQOOP_SERVICE_CHECK",
- "start_time" : -1,
- "stage_id" : 3
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/2/tasks/41",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 41,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 2,
- "command" : "EXECUTE",
- "role" : "MAPREDUCE_SERVICE_CHECK",
- "start_time" : -1,
- "stage_id" : 3
- }
- }
- ]
- }
|