123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387 |
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1?fields=tasks/*",
- "Requests" : {
- "id" : 1,
- "cluster_name" : "mycluster"
- },
- "tasks" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/5",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host1",
- "id" : 5,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "DATANODE",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/20",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 20,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "PIG",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/15",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 15,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "DATANODE",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/3",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host3",
- "id" : 3,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "OOZIE_SERVER",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/7",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host1",
- "id" : 7,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "TASKTRACKER",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/14",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host4",
- "id" : 14,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "TASKTRACKER",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/13",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host4",
- "id" : 13,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/1",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host3",
- "id" : 1,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/18",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 18,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "MAPREDUCE_CLIENT",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/8",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host5",
- "id" : 8,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/6",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host1",
- "id" : 6,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/2",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host3",
- "id" : 2,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "JOBTRACKER",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/4",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host3",
- "id" : 4,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "SECONDARY_NAMENODE",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/19",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 19,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "OOZIE_CLIENT",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/12",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host4",
- "id" : 12,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "DATANODE",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/21",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 21,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "SQOOP",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/9",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host5",
- "id" : 9,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "GANGLIA_SERVER",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/22",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 22,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "TASKTRACKER",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/16",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 16,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "GANGLIA_MONITOR",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/11",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host5",
- "id" : 11,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "NAMENODE",
- "start_time" : -1,
- "stage_id" : 1
- }
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/requests/1/tasks/17",
- "Tasks" : {
- "exit_code" : 999,
- "stdout" : "",
- "status" : "PENDING",
- "stderr" : "",
- "host_name" : "host2",
- "id" : 17,
- "cluster_name" : "mycluster",
- "attempt_cnt" : 0,
- "request_id" : 1,
- "command" : "INSTALL",
- "role" : "HDFS_CLIENT",
- "start_time" : -1,
- "stage_id" : 1
- }
- }
- ]
- }
|