Permalink
Browse files

AMBARI-1059. Refactor cluster management. (yusaku)

  • Loading branch information...
1 parent 115489a commit 28a9ae32d340739fc230ea020de3f153d8e59131 Yusaku Sako committed Dec 9, 2012
Showing with 5,989 additions and 941 deletions.
  1. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_1.json
  2. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_2.json
  3. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_3.json
  4. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_4.json
  5. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_5.json
  6. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_5_failed.json
  7. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_6.json
  8. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_7.json
  9. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_8.json
  10. 0 ambari-web/app/assets/data/wizard/deploy/{ → 2_hosts}/poll_9.json
  11. +22 −22 ambari-web/app/assets/data/wizard/deploy/{multi_1.json → 5_hosts/poll_1.json}
  12. +25 −25 ambari-web/app/assets/data/wizard/deploy/{multi_10.json → 5_hosts/poll_10.json}
  13. +22 −22 ambari-web/app/assets/data/wizard/deploy/{multi_2.json → 5_hosts/poll_2.json}
  14. +26 −26 ambari-web/app/assets/data/wizard/deploy/{multi_3.json → 5_hosts/poll_3.json}
  15. +26 −26 ambari-web/app/assets/data/wizard/deploy/{multi_4.json → 5_hosts/poll_4.json}
  16. +26 −26 ambari-web/app/assets/data/wizard/deploy/{multi_5.json → 5_hosts/poll_5.json}
  17. +22 −22 ambari-web/app/assets/data/wizard/deploy/{multi_6.json → 5_hosts/poll_6.json}
  18. +23 −23 ambari-web/app/assets/data/wizard/deploy/{multi_7.json → 5_hosts/poll_7.json}
  19. +147 −147 ambari-web/app/assets/data/wizard/deploy/{multi_9.json → 5_hosts/poll_8.json}
  20. +147 −147 ambari-web/app/assets/data/wizard/deploy/{multi_8.json → 5_hosts/poll_9.json}
  21. +405 −0 ambari-web/app/assets/data/wizard/deploy/master_failure/poll_1.json
  22. +405 −0 ambari-web/app/assets/data/wizard/deploy/master_failure/poll_2.json
  23. +405 −0 ambari-web/app/assets/data/wizard/deploy/master_failure/poll_3.json
  24. +405 −0 ambari-web/app/assets/data/wizard/deploy/master_failure/poll_4.json
  25. +405 −0 ambari-web/app/assets/data/wizard/deploy/slave_failure/poll_1.json
  26. +405 −0 ambari-web/app/assets/data/wizard/deploy/slave_failure/poll_2.json
  27. +405 −0 ambari-web/app/assets/data/wizard/deploy/slave_failure/poll_3.json
  28. +405 −0 ambari-web/app/assets/data/wizard/deploy/slave_failure/poll_4.json
  29. +405 −0 ambari-web/app/assets/data/wizard/deploy/slave_warning/poll_1.json
  30. +405 −0 ambari-web/app/assets/data/wizard/deploy/slave_warning/poll_2.json
  31. +405 −0 ambari-web/app/assets/data/wizard/deploy/slave_warning/poll_3.json
  32. +405 −0 ambari-web/app/assets/data/wizard/deploy/slave_warning/poll_4.json
  33. +1 −2 ambari-web/app/controllers/application.js
  34. +3 −3 ambari-web/app/controllers/installer.js
  35. +1 −2 ambari-web/app/controllers/login_controller.js
  36. +2 −1 ambari-web/app/controllers/main.js
  37. +2 −3 ambari-web/app/controllers/main/host/add_controller.js
  38. +2 −2 ambari-web/app/controllers/main/host/details.js
  39. +2 −2 ambari-web/app/controllers/main/service/add_controller.js
  40. +41 −38 ambari-web/app/controllers/wizard/slave_component_groups_controller.js
  41. +11 −16 ambari-web/app/controllers/wizard/step3_controller.js
  42. +2 −1 ambari-web/app/controllers/wizard/step7_controller.js
  43. +98 −28 ambari-web/app/controllers/wizard/step8_controller.js
  44. +15 −7 ambari-web/app/controllers/wizard/step9_controller.js
  45. +5 −3 ambari-web/app/data/config_properties.js
  46. +2 −1 ambari-web/app/data/statusCodes.js
  47. +7 −0 ambari-web/app/models/component.js
  48. +1 −2 ambari-web/app/models/host.js
  49. +23 −1 ambari-web/app/models/service_config.js
  50. +16 −14 ambari-web/app/router.js
  51. +6 −4 ambari-web/app/routes/installer.js
  52. +15 −3 ambari-web/app/styles/application.less
  53. +1 −1 ambari-web/app/templates/application.hbs
  54. +5 −2 ambari-web/app/templates/main.hbs
  55. +57 −55 ambari-web/app/templates/main/dashboard/service/hbase.hbs
  56. +104 −102 ambari-web/app/templates/main/dashboard/service/hdfs.hbs
  57. +1 −1 ambari-web/app/templates/main/dashboard/service/hive.hbs
  58. +86 −84 ambari-web/app/templates/main/dashboard/service/mapreduce.hbs
  59. +1 −1 ambari-web/app/templates/main/dashboard/service/oozie.hbs
  60. +1 −1 ambari-web/app/templates/main/dashboard/service/zookeeper.hbs
  61. +1 −21 ambari-web/app/templates/main/service/info/summary.hbs
  62. +37 −0 ambari-web/app/templates/main/service/info/summary_alert.hbs
  63. +12 −12 ambari-web/app/templates/wizard/slave_component_hosts.hbs
  64. +3 −2 ambari-web/app/templates/wizard/slave_hosts.hbs
  65. +1 −1 ambari-web/app/templates/wizard/step7.hbs
  66. +1 −1 ambari-web/app/templates/wizard/step9.hbs
  67. +11 −12 ambari-web/app/utils/db.js
  68. +9 −2 ambari-web/app/views/common/chart/linear_time.js
  69. +1 −1 ambari-web/app/views/main/dashboard/cluster_metrics/load.js
  70. +1 −1 ambari-web/app/views/main/dashboard/cluster_metrics/memory.js
  71. +2 −1 ambari-web/app/views/main/dashboard/cluster_metrics/network.js
  72. +1 −1 ambari-web/app/views/main/host/metrics/disk.js
  73. +1 −1 ambari-web/app/views/main/host/metrics/load.js
  74. +1 −1 ambari-web/app/views/main/host/metrics/memory.js
  75. +1 −1 ambari-web/app/views/main/host/metrics/network.js
  76. +1 −1 ambari-web/app/views/main/host/metrics/processes.js
  77. +1 −1 ambari-web/app/views/main/service/info/metrics/hbase/regionserver_queuesize.js
  78. +1 −1 ambari-web/app/views/main/service/info/metrics/hbase/regionserver_rw_requests.js
  79. +1 −1 ambari-web/app/views/main/service/info/metrics/hdfs/block_status.js
  80. +1 −1 ambari-web/app/views/main/service/info/metrics/hdfs/file_operations.js
  81. +1 −1 ambari-web/app/views/main/service/info/metrics/hdfs/io.js
  82. +1 −1 ambari-web/app/views/main/service/info/metrics/hdfs/jvm_heap.js
  83. +1 −1 ambari-web/app/views/main/service/info/metrics/hdfs/jvm_threads.js
  84. +1 −1 ambari-web/app/views/main/service/info/metrics/hdfs/space_utilization.js
  85. +1 −1 ambari-web/app/views/main/service/info/metrics/mapreduce/jobs_running_waiting.js
  86. +1 −1 ambari-web/app/views/main/service/info/metrics/mapreduce/jobs_status.js
  87. +1 −1 ambari-web/app/views/main/service/info/metrics/mapreduce/map_slots.js
  88. +1 −1 ambari-web/app/views/main/service/info/metrics/mapreduce/reduce_slots.js
  89. +14 −2 ambari-web/app/views/main/service/info/summary.js
  90. +2 −1 ambari-web/app/views/wizard/controls_view.js
  91. +0 −1 ambari-web/app/views/wizard/step7_view.js
  92. +5 −0 ambari-web/app/views/wizard/step9_view.js
  93. +15 −0 ambari-web/pom.xml
@@ -12,7 +12,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-116-243-112.ec2.internal",
+ "host_name" : "host1",
"id" : 5,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -30,7 +30,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-40-129-119.ec2.internal",
+ "host_name" : "host2",
"id" : 20,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -48,7 +48,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-40-129-119.ec2.internal",
+ "host_name" : "host2",
"id" : 15,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -66,7 +66,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-116-173-180.ec2.internal",
+ "host_name" : "host3",
"id" : 3,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -84,7 +84,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-116-243-112.ec2.internal",
+ "host_name" : "host1",
"id" : 7,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -102,7 +102,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-196-202-79.ec2.internal",
+ "host_name" : "host4",
"id" : 14,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -120,7 +120,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-196-202-79.ec2.internal",
+ "host_name" : "host4",
"id" : 13,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -138,7 +138,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-116-173-180.ec2.internal",
+ "host_name" : "host3",
"id" : 1,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -156,7 +156,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-40-129-119.ec2.internal",
+ "host_name" : "host2",
"id" : 18,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -174,7 +174,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-118-58-228.ec2.internal",
+ "host_name" : "host5",
"id" : 8,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -192,7 +192,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-116-243-112.ec2.internal",
+ "host_name" : "host1",
"id" : 6,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -210,7 +210,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-116-173-180.ec2.internal",
+ "host_name" : "host3",
"id" : 2,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -228,7 +228,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-116-173-180.ec2.internal",
+ "host_name" : "host3",
"id" : 4,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -246,7 +246,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-40-129-119.ec2.internal",
+ "host_name" : "host2",
"id" : 19,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -264,7 +264,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-118-58-228.ec2.internal",
+ "host_name" : "host5",
"id" : 10,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -282,7 +282,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-196-202-79.ec2.internal",
+ "host_name" : "host4",
"id" : 12,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -300,7 +300,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-40-129-119.ec2.internal",
+ "host_name" : "host2",
"id" : 21,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -318,7 +318,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-118-58-228.ec2.internal",
+ "host_name" : "host5",
"id" : 9,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -336,7 +336,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-40-129-119.ec2.internal",
+ "host_name" : "host2",
"id" : 22,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -354,7 +354,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-40-129-119.ec2.internal",
+ "host_name" : "host2",
"id" : 16,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -372,7 +372,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-118-58-228.ec2.internal",
+ "host_name" : "host5",
"id" : 11,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
@@ -390,7 +390,7 @@
"stdout" : "",
"status" : "PENDING",
"stderr" : "",
- "host_name" : "ip-10-40-129-119.ec2.internal",
+ "host_name" : "host2",
"id" : 17,
"cluster_name" : "mycluster",
"attempt_cnt" : 0,
Oops, something went wrong. Retry.

0 comments on commit 28a9ae3

Please sign in to comment.