poll_4.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. {
  2. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1",
  3. "Requests" : {
  4. "id" : 1
  5. },
  6. "tasks" : [
  7. {
  8. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1",
  9. "Tasks" : {
  10. "id" : "1",
  11. "attempt_cnt" : "0",
  12. "exit_code" : "999",
  13. "stdout" : "",
  14. "status" : "QUEUED",
  15. "command" : "UPGRADE",
  16. "start_time" : "-1",
  17. "role" : "GANGLIA_SERVER",
  18. "stderr" : "",
  19. "host_name" : "ip-10-191-202-42.ec2.internal",
  20. "stage_id" : "1"
  21. }
  22. },
  23. {
  24. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/2",
  25. "Tasks" : {
  26. "id" : "2",
  27. "attempt_cnt" : "0",
  28. "exit_code" : "999",
  29. "stdout" : "",
  30. "status" : "QUEUED",
  31. "command" : "UPGRADE",
  32. "start_time" : "-1",
  33. "role" : "GANGLIA_MONITOR",
  34. "stderr" : "",
  35. "host_name" : "ip-10-191-202-42.ec2.internal",
  36. "stage_id" : "1"
  37. }
  38. },
  39. {
  40. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  41. "Tasks" : {
  42. "id" : "3",
  43. "attempt_cnt" : "0",
  44. "exit_code" : "999",
  45. "stdout" : "",
  46. "status" : "QUEUED",
  47. "command" : "UPGRADE",
  48. "start_time" : "-1",
  49. "role" : "GANGLIA_MONITOR",
  50. "stderr" : "",
  51. "host_name" : "ip-10-110-38-164.ec2.internal",
  52. "stage_id" : "1"
  53. }
  54. },
  55. {
  56. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  57. "Tasks" : {
  58. "id" : "4",
  59. "attempt_cnt" : "0",
  60. "exit_code" : "999",
  61. "stdout" : "",
  62. "status" : "QUEUED",
  63. "command" : "UPGRADE",
  64. "start_time" : "-1",
  65. "role" : "GANGLIA_MONITOR",
  66. "stderr" : "",
  67. "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal",
  68. "stage_id" : "1"
  69. }
  70. },
  71. {
  72. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  73. "Tasks" : {
  74. "id" : "5",
  75. "attempt_cnt" : "0",
  76. "exit_code" : "999",
  77. "stdout" : "",
  78. "status" : "QUEUED",
  79. "command" : "UPGRADE",
  80. "start_time" : "-1",
  81. "role" : "GANGLIA_MONITOR",
  82. "stderr" : "",
  83. "host_name" : "ip-10-110-79-42.ec2.internal",
  84. "stage_id" : "1"
  85. }
  86. },
  87. {
  88. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  89. "Tasks" : {
  90. "id" : "6",
  91. "attempt_cnt" : "0",
  92. "exit_code" : "999",
  93. "stdout" : "",
  94. "status" : "IN_PROGRESS",
  95. "command" : "UPGRADE",
  96. "start_time" : "-1",
  97. "role" : "GANGLIA_MONITOR",
  98. "stderr" : "",
  99. "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal",
  100. "stage_id" : "1"
  101. }
  102. },
  103. {
  104. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/2",
  105. "Tasks" : {
  106. "id" : "7",
  107. "attempt_cnt" : "0",
  108. "exit_code" : "999",
  109. "stdout" : "",
  110. "status" : "COMPLETED",
  111. "command" : "UPGRADE",
  112. "start_time" : "-1",
  113. "role" : "DATANODE",
  114. "stderr" : "",
  115. "host_name" : "ip-10-191-202-42.ec2.internal",
  116. "stage_id" : "1"
  117. }
  118. },
  119. {
  120. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  121. "Tasks" : {
  122. "id" : "8",
  123. "attempt_cnt" : "0",
  124. "exit_code" : "999",
  125. "stdout" : "",
  126. "status" : "COMPLETED",
  127. "command" : "UPGRADE",
  128. "start_time" : "-1",
  129. "role" : "DATANODE",
  130. "stderr" : "",
  131. "host_name" : "ip-10-110-38-164.ec2.internal",
  132. "stage_id" : "1"
  133. }
  134. },
  135. {
  136. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  137. "Tasks" : {
  138. "id" : "9",
  139. "attempt_cnt" : "0",
  140. "exit_code" : "999",
  141. "stdout" : "",
  142. "status" : "COMPLETED",
  143. "command" : "UPGRADE",
  144. "start_time" : "-1",
  145. "role" : "DATANODE",
  146. "stderr" : "",
  147. "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal",
  148. "stage_id" : "1"
  149. }
  150. },
  151. {
  152. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  153. "Tasks" : {
  154. "id" : "10",
  155. "attempt_cnt" : "0",
  156. "exit_code" : "999",
  157. "stdout" : "",
  158. "status" : "COMPLETED",
  159. "command" : "UPGRADE",
  160. "start_time" : "-1",
  161. "role" : "DATANODE",
  162. "stderr" : "",
  163. "host_name" : "ip-10-110-79-42.ec2.internal",
  164. "stage_id" : "1"
  165. }
  166. },
  167. {
  168. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  169. "Tasks" : {
  170. "id" : "11",
  171. "attempt_cnt" : "0",
  172. "exit_code" : "999",
  173. "stdout" : "",
  174. "status" : "COMPLETED",
  175. "command" : "UPGRADE",
  176. "start_time" : "-1",
  177. "role" : "DATANODE",
  178. "stderr" : "",
  179. "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal",
  180. "stage_id" : "1"
  181. }
  182. },
  183. {
  184. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  185. "Tasks" : {
  186. "id" : "12",
  187. "attempt_cnt" : "0",
  188. "exit_code" : "999",
  189. "stdout" : "",
  190. "status" : "COMPLETED",
  191. "command" : "UPGRADE",
  192. "start_time" : "-1",
  193. "role" : "NAMENODE",
  194. "stderr" : "",
  195. "host_name" : "ip-10-191-202-42.ec2.internal",
  196. "stage_id" : "1"
  197. }
  198. },
  199. {
  200. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/3",
  201. "Tasks" : {
  202. "id" : "13",
  203. "attempt_cnt" : "0",
  204. "exit_code" : "999",
  205. "stdout" : "",
  206. "status" : "COMPLETED",
  207. "command" : "UPGRADE",
  208. "start_time" : "-1",
  209. "role" : "SECONDARY_NAMENODE",
  210. "stderr" : "",
  211. "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal",
  212. "stage_id" : "1"
  213. }
  214. }
  215. ]
  216. }