You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2012/12/09 12:53:23 UTC
svn commit: r1418895 [1/5] - in /incubator/ambari/branches/AMBARI-666: ./
ambari-web/ ambari-web/app/ ambari-web/app/assets/data/alerts/
ambari-web/app/assets/data/background_operations/
ambari-web/app/assets/data/dashboard/ ambari-web/app/assets/data/...
Author: yusaku
Date: Sun Dec 9 11:53:15 2012
New Revision: 1418895
URL: http://svn.apache.org/viewvc?rev=1418895&view=rev
Log:
AMBARI-1058. Implement data loading. (yusaku)
Added:
incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/alerts/
incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/alerts/alerts.json
incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/background_operations/
incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/background_operations/list_on_start.json
incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/hosts/hosts.json
incubator/ambari/branches/AMBARI-666/ambari-web/app/mappers/
incubator/ambari/branches/AMBARI-666/ambari-web/app/mappers/alerts_mapper.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/mappers/hosts_mapper.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/mappers/server_data_mapper.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/mappers/services_mapper.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/models/protoRelations.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/test.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/utils/http_client.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/utils/misc.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/common/combobox.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/test.js
incubator/ambari/branches/AMBARI-666/ambari-web/vendor/scripts/bootstrap-combobox.js
incubator/ambari/branches/AMBARI-666/ambari-web/vendor/scripts/jquery.periodic.js
incubator/ambari/branches/AMBARI-666/ambari-web/vendor/styles/bootstrap-combobox.css
Removed:
incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/dashboard/servicesHealth.json
Modified:
incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/dashboard/services.json
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/installer.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/apps_controller.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/host.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/service/info/configs.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/service/info/summary.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/service/item.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/wizard/step10_controller.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/wizard/step2_controller.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/wizard/step8_controller.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/wizard/step9_controller.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/data/service_components.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/initialize.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/messages.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/models.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/models/alert.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/models/app.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/models/job.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/models/run.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/models/service.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/router.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/routes/add_host_routes.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/routes/add_service_routes.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/routes/installer.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/routes/main.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/styles/application.less
incubator/ambari/branches/AMBARI-666/ambari-web/app/styles/apps.less
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/login.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/apps.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/apps/item/bar.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/apps/item/dag.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/apps/list_row.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/background_operations_popup.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard/service/hbase.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard/service/hdfs.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard/service/hive.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard/service/mapreduce.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard/service/oozie.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard/service/zookeeper.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/host.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/host/details.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/service/info/configs.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/service/info/summary.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/service/item.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/service/menu_item.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/wizard/step2.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/wizard/step9.hbs
incubator/ambari/branches/AMBARI-666/ambari-web/app/utils/data_table.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/utils/db.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/utils/graph.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/login.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/apps/item/bar_view.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/apps/item/dag_view.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/apps_view.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/service.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/host.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/configs.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/summary.js
incubator/ambari/branches/AMBARI-666/ambari-web/app/views/wizard/step2_view.js
incubator/ambari/branches/AMBARI-666/ambari-web/config.coffee
incubator/ambari/branches/AMBARI-666/ambari-web/package.json
incubator/ambari/branches/AMBARI-666/ambari-web/pom.xml
incubator/ambari/branches/AMBARI-666/ambari-web/vendor/scripts/jquery.dataTables.js
Modified: incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt?rev=1418895&r1=1418894&r2=1418895&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt (original)
+++ incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt Sun Dec 9 11:53:15 2012
@@ -392,6 +392,8 @@ AMBARI-666 branch (unreleased changes)
IMPROVEMENTS
+ AMBARI-1058. Implement data loading (yusaku)
+
AMBARI-956. On unavailability of non-master components, host with least
number of master components should install all slave and client components.
(Jaimin Jetly via yusaku)
Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/alerts/alerts.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/alerts/alerts.json?rev=1418895&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/alerts/alerts.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/alerts/alerts.json Sun Dec 9 11:53:15 2012
@@ -0,0 +1,426 @@
+{"alerts": [
+ {
+ "service_description": "Process down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.001 second response time on port 50010",
+ "last_hard_state_change": "1350378326",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878529",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878529",
+ "service_type": "UNKNOWN"
+ },
+ {
+ "service_description": "Storage full",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: Capacity:[], Remaining Capacity:[], percent_full:[0]",
+ "last_hard_state_change": "1350378331",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878395",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878395",
+ "service_type": "UNKNOWN"
+ },
+ {
+ "service_description": "Ganglia [gmetad] Process down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.001 second response time on port 8651",
+ "last_hard_state_change": "1350378335",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878575",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878575",
+ "service_type": "UNKNOWN"
+ },
+ {
+ "service_description": "Ganglia collector [gmond] Process down alert for jobtracker",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.003 second response time on port 8662",
+ "last_hard_state_change": "1350378340",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878575",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878575",
+ "service_type": "UNKNOWN"
+ },
+ {
+ "service_description": "Ganglia collector [gmond] Process down alert for namenode",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.003 second response time on port 8661",
+ "last_hard_state_change": "1350378344",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878575",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878575",
+ "service_type": "UNKNOWN"
+ },
+ {
+ "service_description": "Ganglia collector [gmond] Process down alert for slaves",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.004 second response time on port 8660",
+ "last_hard_state_change": "1350378349",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878575",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878575",
+ "service_type": "UNKNOWN"
+ },
+ {
+ "service_description": "Corrupt\/Missing blocks",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: corrupt_blocks:<0>, missing_blocks:<0>, total_blocks:<135>",
+ "last_hard_state_change": "1350933589",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878469",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "1350933469",
+ "is_flapping": "0",
+ "last_check": "1351878469",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "HDFS Capacity utilization",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: DFSUsedGB:<0>, DFSTotalGB:<784.3>",
+ "last_hard_state_change": "1350378358",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878395",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878395",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "Namenode RPC Latency",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: RpcQueueTime_avg_time:<0> Secs, RpcProcessingTime_avg_time:<0> Secs",
+ "last_hard_state_change": "1350378362",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878395",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878395",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "Percent DataNodes down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: total:<1>, affected:<0>",
+ "last_hard_state_change": "1350378367",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878560",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878560",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "Percent DataNodes storage full",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: total:<1>, affected:<0>",
+ "last_hard_state_change": "1350378371",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878469",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878469",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "JobHistory Web UI down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: Successfully accessed jobhistory Web UI",
+ "last_hard_state_change": "1350378376",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878529",
+ "last_time_warning": "1351216729",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878529",
+ "service_type": "MAPREDUCE"
+ },
+ {
+ "service_description": "JobTracker Web UI down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: Successfully accessed jobtracker Web UI",
+ "last_hard_state_change": "1350378380",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878529",
+ "last_time_warning": "1351216729",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878529",
+ "service_type": "MAPREDUCE"
+ },
+ {
+ "service_description": "Jobtracker CPU utilization",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "2 CPU, average load 3.0% < 200% : OK",
+ "last_hard_state_change": "1350378385",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878395",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878395",
+ "service_type": "MAPREDUCE"
+ },
+ {
+ "service_description": "Jobtracker Process down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.003 second response time on port 50030",
+ "last_hard_state_change": "1351216775",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878575",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "1351216745",
+ "is_flapping": "0",
+ "last_check": "1351878575",
+ "service_type": "MAPREDUCE"
+ },
+ {
+ "service_description": "JobTracker RPC Latency",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: RpcQueueTime_avg_time:<0> Secs, RpcProcessingTime_avg_time:<0.06> Secs",
+ "last_hard_state_change": "1350378394",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878395",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878395",
+ "service_type": "MAPREDUCE"
+ },
+ {
+ "service_description": "Percent TaskTrackers down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: total:<1>, affected:<0>",
+ "last_hard_state_change": "1351216880",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878560",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "1351216850",
+ "is_flapping": "0",
+ "last_check": "1351878560",
+ "service_type": "MAPREDUCE"
+ },
+ {
+ "service_description": "Nagios status log staleness",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "NAGIOS OK: 2 processes, status log updated 9 seconds ago",
+ "last_hard_state_change": "1350937033",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878433",
+ "last_time_warning": "1350936733",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878433",
+ "service_type": "UNKNOWN"
+ },
+ {
+ "service_description": "Namenode Edit logs directory status",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: All Namenode directories are active",
+ "last_hard_state_change": "1350378408",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878560",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878560",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "Namenode Host CPU utilization",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "2 CPU, average load 3.0% < 200% : OK",
+ "last_hard_state_change": "1350378412",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878412",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878412",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "Namenode Process down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.000 second response time on port 8020",
+ "last_hard_state_change": "1350378417",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878559",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878559",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "Namenode Web UI down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: Successfully accessed namenode Web UI",
+ "last_hard_state_change": "1350378421",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878529",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878529",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "Secondary Namenode Process down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.001 second response time on port 50090",
+ "last_hard_state_change": "1350378426",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878560",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878560",
+ "service_type": "HDFS"
+ },
+ {
+ "service_description": "Oozie status check",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "OK: Oozie server status [System mode: NORMAL]",
+ "last_hard_state_change": "1351217029",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878529",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "1351216969",
+ "is_flapping": "0",
+ "last_check": "1351878529",
+ "service_type": "OOZIE"
+ },
+ {
+ "service_description": "Puppet agent down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.001 second response time on port 8139",
+ "last_hard_state_change": "1350378435",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878529",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "0",
+ "is_flapping": "0",
+ "last_check": "1351878529",
+ "service_type": "PUPPET"
+ },
+ {
+ "service_description": "Process down",
+ "host_name": "host",
+ "current_attempt": "1",
+ "current_state": "0",
+ "plugin_output": "TCP OK - 0.000 second response time on port 50060",
+ "last_hard_state_change": "1351216849",
+ "last_hard_state": "0",
+ "last_time_ok": "1351878529",
+ "last_time_warning": "0",
+ "last_time_unknown": "0",
+ "last_time_critical": "1351216789",
+ "is_flapping": "0",
+ "last_check": "1351878529",
+ "service_type": "UNKNOWN"
+ }
+], "hostcounts": {
+ "up_hosts": 1,
+ "down_hosts": 0
+}, "servicestates": {
+ "PUPPET": 0,
+ "MAPREDUCE": "0",
+ "HDFS": "0",
+ "OOZIE": "0"
+}}
Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/background_operations/list_on_start.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/background_operations/list_on_start.json?rev=1418895&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/background_operations/list_on_start.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/background_operations/list_on_start.json Sun Dec 9 11:53:15 2012
@@ -0,0 +1,338 @@
+{
+ "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
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file