blob: 3e1d6e59677d0839f5196c2f4652e49e40d26a73 [file] [log] [blame]
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/?fields=tasks/*",
"items" : [
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/3",
"Requests" : {
"id" : 3,
"cluster_name" : "mycluster"
},
"tasks" : [
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/3/tasks/16",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "QUEUED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 16,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 3,
"command" : "STOP",
"role" : "NAMENODE",
"start_time" : 1352125378300,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/3/tasks/15",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 15,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 3,
"command" : "STOP",
"role" : "DATANODE",
"start_time" : 1352125378280,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/3/tasks/17",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 17,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 3,
"command" : "STOP",
"role" : "SECONDARY_NAMENODE",
"start_time" : 1352125378315,
"stage_id" : 1
}
}
]
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/2",
"Requests" : {
"id" : 2,
"cluster_name" : "mycluster"
},
"tasks" : [
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/2/tasks/11",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 11,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 2,
"command" : "START",
"role" : "JOBTRACKER",
"start_time" : 1352119106491,
"stage_id" : 2
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/2/tasks/14",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 14,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 2,
"command" : "EXECUTE",
"role" : "MAPREDUCE_SERVICE_CHECK",
"start_time" : 1352119157294,
"stage_id" : 3
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/2/tasks/13",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 13,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 2,
"command" : "START",
"role" : "TASKTRACKER",
"start_time" : 1352119106518,
"stage_id" : 2
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/2/tasks/12",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 12,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 2,
"command" : "START",
"role" : "SECONDARY_NAMENODE",
"start_time" : 1352119106506,
"stage_id" : 2
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/2/tasks/9",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 9,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 2,
"command" : "START",
"role" : "NAMENODE",
"start_time" : 1352119024782,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/2/tasks/8",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 8,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 2,
"command" : "START",
"role" : "DATANODE",
"start_time" : 1352119024765,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/2/tasks/10",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 10,
"cluster_name" : "mycluster",
"attempt_cnt" : 1,
"request_id" : 2,
"command" : "EXECUTE",
"role" : "HDFS_SERVICE_CHECK",
"start_time" : 1352119106480,
"stage_id" : 2
}
}
]
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/1",
"Requests" : {
"id" : 1,
"cluster_name" : "mycluster"
},
"tasks" : [
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/1/tasks/1",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 1,
"cluster_name" : "mycluster",
"attempt_cnt" : 2,
"request_id" : 1,
"command" : "INSTALL",
"role" : "DATANODE",
"start_time" : 1352118607290,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/1/tasks/4",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 4,
"cluster_name" : "mycluster",
"attempt_cnt" : 2,
"request_id" : 1,
"command" : "INSTALL",
"role" : "MAPREDUCE_CLIENT",
"start_time" : 1352118607672,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/1/tasks/5",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 5,
"cluster_name" : "mycluster",
"attempt_cnt" : 2,
"request_id" : 1,
"command" : "INSTALL",
"role" : "NAMENODE",
"start_time" : 1352118607808,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/1/tasks/3",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 3,
"cluster_name" : "mycluster",
"attempt_cnt" : 2,
"request_id" : 1,
"command" : "INSTALL",
"role" : "JOBTRACKER",
"start_time" : 1352118607566,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/1/tasks/7",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 7,
"cluster_name" : "mycluster",
"attempt_cnt" : 2,
"request_id" : 1,
"command" : "INSTALL",
"role" : "TASKTRACKER",
"start_time" : 1352118608124,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/1/tasks/2",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 2,
"cluster_name" : "mycluster",
"attempt_cnt" : 2,
"request_id" : 1,
"command" : "INSTALL",
"role" : "HDFS_CLIENT",
"start_time" : 1352118607469,
"stage_id" : 1
}
},
{
"href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/requests/1/tasks/6",
"Tasks" : {
"exit_code" : 0,
"stdout" : "Output",
"status" : "COMPLETED",
"stderr" : "none",
"host_name" : "dev.hortonworks.com",
"id" : 6,
"cluster_name" : "mycluster",
"attempt_cnt" : 2,
"request_id" : 1,
"command" : "INSTALL",
"role" : "SECONDARY_NAMENODE",
"start_time" : 1352118607958,
"stage_id" : 1
}
}
]
}
]
}