testConnection_poll4.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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" : "SUCCESS",
  15. "command" : "CONNECT",
  16. "start_time" : "-1",
  17. "role" : "DATANODE",
  18. "stderr" : "",
  19. "type": "readonly",
  20. "endpoint": "http://ec2...com:50070",
  21. "version": "1.1.2.22"
  22. }
  23. },
  24. {
  25. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1",
  26. "Tasks" : {
  27. "id" : "1",
  28. "attempt_cnt" : "0",
  29. "exit_code" : "999",
  30. "stdout" : "",
  31. "status" : "SUCCESS",
  32. "command" : "CONNECT",
  33. "start_time" : "-1",
  34. "role" : "DATANODE",
  35. "stderr" : "",
  36. "type": "write",
  37. "endpoint": "hdfs://ec2...com:8020",
  38. "version": "1.1.2.22"
  39. }
  40. },
  41. {
  42. "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1",
  43. "Tasks" : {
  44. "id" : "1",
  45. "attempt_cnt" : "0",
  46. "exit_code" : "999",
  47. "stdout" : "",
  48. "status" : "SUCCESS",
  49. "command" : "CONNECT",
  50. "start_time" : "-1",
  51. "role" : "DATANODE",
  52. "stderr" : "",
  53. "type": "workflow",
  54. "endpoint": "http://ec2...com:11000/oozie/",
  55. "version": "3.1"
  56. }
  57. }
  58. ]
  59. }