Modified: incubator/ambari/trunk/ambari-web/app/assets/data/hosts/hosts.json URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/assets/data/hosts/hosts.json?rev=1465166&r1=1465165&r2=1465166&view=diff ============================================================================== --- incubator/ambari/trunk/ambari-web/app/assets/data/hosts/hosts.json (original) +++ incubator/ambari/trunk/ambari-web/app/assets/data/hosts/hosts.json Sat Apr 6 01:55:42 2013 @@ -1,6 +1,275 @@ { "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts?fields=Hosts,host_components,metrics/cpu,metrics/disk,metrics/load,metrics/memory&_=1358264805279", "items" : [ + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com", + "metrics" : { + "disk" : { + "disk_total" : 101.515, + "disk_free" : 91.9097861111 + }, + "load" : { + "load_one" : 0.762361111111 + } + }, + "Hosts" : { + "host_status" : "HEALTHY", + "cpu_count" : 1, + "public_host_name" : "dev.hortonworks.com", + "cluster_name" : "mycluster", + "total_mem" : 2055208, + "os_arch" : "x86_64", + "host_name" : "dev.hortonworks.com", + "disk_info" : [ + { + "available" : "45116168", + "used" : "5965836", + "percent" : "12%", + "size" : "51606140", + "type" : "ext4", + "mountpoint" : "/" + }, + { + "available" : "1027152", + "used" : "312", + "percent" : "1%", + "size" : "1027464", + "type" : "tmpfs", + "mountpoint" : "/dev/shm" + }, + { + "available" : "432210", + "used" : "38034", + "percent" : "9%", + "size" : "495844", + "type" : "ext4", + "mountpoint" : "/boot" + }, + { + "available" : "44459772", + "used" : "184320", + "percent" : "1%", + "size" : "47033288", + "type" : "ext4", + "mountpoint" : "/home" + }, + { + "available" : "188478012", + "used" : "298907228", + "percent" : "62%", + "size" : "487385240", + "type" : "vboxsf", + "mountpoint" : "/media/sf_git" + } + ], + "last_heartbeat_time" : 1362778488431, + "os_type" : "centos6", + "ip" : "10.0.2.15" + }, + "host_components" : [ + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "TASKTRACKER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MYSQL_SERVER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "MYSQL_SERVER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "MAPREDUCE_CLIENT", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SQOOP", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "SQOOP", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/GANGLIA_SERVER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "GANGLIA_SERVER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HBASE_MASTER", + "HostRoles" : { + "cluster_name" : "mycluster", + "ha_status" : "NA", + "component_name" : "HBASE_MASTER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/DATANODE", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "DATANODE", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "JOBTRACKER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAGIOS_SERVER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "NAGIOS_SERVER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/GANGLIA_MONITOR", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "GANGLIA_MONITOR", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/ZOOKEEPER_CLIENT", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "ZOOKEEPER_CLIENT", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/PIG", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "PIG", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/OOZIE_CLIENT", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "OOZIE_CLIENT", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "SECONDARY_NAMENODE", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HIVE_METASTORE", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "HIVE_METASTORE", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HIVE_CLIENT", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "HIVE_CLIENT", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HBASE_CLIENT", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "HBASE_CLIENT", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HBASE_REGIONSERVER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "HBASE_REGIONSERVER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/WEBHCAT_SERVER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "WEBHCAT_SERVER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HCAT", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "HCAT", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HIVE_SERVER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "HIVE_SERVER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/ZOOKEEPER_SERVER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "ZOOKEEPER_SERVER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/OOZIE_SERVER", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "OOZIE_SERVER", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "NAMENODE", + "host_name" : "dev.hortonworks.com" + } + }, + { + "href" : "http://dev.hortonworks.com:8080/api/v1/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT", + "HostRoles" : { + "cluster_name" : "mycluster", + "component_name" : "HDFS_CLIENT", + "host_name" : "dev.hortonworks.com" + } + } + ] + }, { "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal", "metrics" : { @@ -1055,6 +1324,14 @@ "component_name" : "HBASE_REGIONSERVER", "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal" } + }, + { + "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/HUE_SERVER", + "HostRoles" : { + "cluster_name" : "cl1", + "component_name" : "HUE_SERVER", + "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal" + } } ] }
Modified: incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/all_datasets.json URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/all_datasets.json?rev=1465166&r1=1465165&r2=1465166&view=diff ============================================================================== --- incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/all_datasets.json (original) +++ incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/all_datasets.json Sat Apr 6 01:55:42 2013 @@ -5,7 +5,7 @@ "href":"http://ec2...com:8080/api/v1/feeds/feed1", "Feeds":{ "description":"test feed 1", - "name":"feed 1", + "name":"feed_1", "status":"SCHEDULED", "groups":"online,bi", "frequency":"minutes(1)", @@ -16,7 +16,7 @@ "clusters":{ "cluster":[ { - "name":"drsource", + "name":"drsource3", "type":"source", "validity":{ "start":"2010-01-01T00:00Z", @@ -28,7 +28,7 @@ } }, { - "name":"drtarget", + "name":"drtarget3", "type":"target", "validity":{ "start":"2010-01-01T00:00Z", @@ -132,7 +132,7 @@ "href":"http://ec2...com:8080/api/v1/feeds/feed2", "Feeds":{ "description":"test feed 2", - "name":"feed 2", + "name":"feed_2", "status":"SCHEDULED", "groups":"online,bi", "frequency":"minutes(1)", @@ -143,7 +143,7 @@ "clusters":{ "cluster":[ { - "name":"drsource", + "name":"drsource1", "type":"source", "validity":{ "start":"2010-01-01T00:00Z", @@ -155,7 +155,7 @@ } }, { - "name":"drtarget", + "name":"drtarget1", "type":"target", "validity":{ "start":"2010-01-01T00:00Z", @@ -233,7 +233,7 @@ "href":"http://ec2...com:8080/api/v1/feeds/feed1", "Feeds":{ "description":"feed 3", - "name":"feed 3", + "name":"feed_3", "status":"SCHEDULED", "groups":"online,bi", "frequency":"minutes(1)", @@ -244,7 +244,7 @@ "clusters":{ "cluster":[ { - "name":"drsource", + "name":"drsource2", "type":"source", "validity":{ "start":"2010-01-01T00:00Z", @@ -256,7 +256,7 @@ } }, { - "name":"drtarget", + "name":"drtarget2", "type":"target", "validity":{ "start":"2010-01-01T00:00Z", Added: incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll1.json URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll1.json?rev=1465166&view=auto ============================================================================== --- incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll1.json (added) +++ incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll1.json Sat Apr 6 01:55:42 2013 @@ -0,0 +1,60 @@ +{ + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1", + "Requests" : { + "id" : 1 + }, + "tasks" : [ + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "PENDING", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "readonly", + "endpoint": "http://ec2...com:50070", + "version": "1.1.2.22" + } + }, + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "PENDING", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "write", + "endpoint": "hdfs://ec2...com:8020", + "version": "1.1.2.22" + } + }, + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "PENDING", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "workflow", + "endpoint": "http://ec2...com:11000/oozie/", + "version": "3.1" + } + } + + ] +} \ No newline at end of file Added: incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll2.json URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll2.json?rev=1465166&view=auto ============================================================================== --- incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll2.json (added) +++ incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll2.json Sat Apr 6 01:55:42 2013 @@ -0,0 +1,60 @@ +{ + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1", + "Requests" : { + "id" : 1 + }, + "tasks" : [ + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "SUCCESS", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "readonly", + "endpoint": "http://ec2...com:50070", + "version": "1.1.2.22" + } + }, + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "PENDING", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "write", + "endpoint": "hdfs://ec2...com:8020", + "version": "1.1.2.22" + } + }, + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "PENDING", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "workflow", + "endpoint": "http://ec2...com:11000/oozie/", + "version": "3.1" + } + } + + ] +} \ No newline at end of file Added: incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll3.json URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll3.json?rev=1465166&view=auto ============================================================================== --- incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll3.json (added) +++ incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll3.json Sat Apr 6 01:55:42 2013 @@ -0,0 +1,60 @@ +{ + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1", + "Requests" : { + "id" : 1 + }, + "tasks" : [ + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "SUCCESS", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "readonly", + "endpoint": "http://ec2...com:50070", + "version": "1.1.2.22" + } + }, + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "SUCCESS", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "write", + "endpoint": "hdfs://ec2...com:8020", + "version": "1.1.2.22" + } + }, + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "PENDING", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "workflow", + "endpoint": "http://ec2...com:11000/oozie/", + "version": "3.1" + } + } + + ] +} \ No newline at end of file Added: incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll4.json URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll4.json?rev=1465166&view=auto ============================================================================== --- incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll4.json (added) +++ incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/poll/testConnection_poll4.json Sat Apr 6 01:55:42 2013 @@ -0,0 +1,60 @@ +{ + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1", + "Requests" : { + "id" : 1 + }, + "tasks" : [ + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "SUCCESS", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "readonly", + "endpoint": "http://ec2...com:50070", + "version": "1.1.2.22" + } + }, + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "SUCCESS", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "write", + "endpoint": "hdfs://ec2...com:8020", + "version": "1.1.2.22" + } + }, + { + "href" : "http://localhost:8080/api/clusters/mycluster/requests/1/tasks/1", + "Tasks" : { + "id" : "1", + "attempt_cnt" : "0", + "exit_code" : "999", + "stdout" : "", + "status" : "SUCCESS", + "command" : "CONNECT", + "start_time" : "-1", + "role" : "DATANODE", + "stderr" : "", + "type": "workflow", + "endpoint": "http://ec2...com:11000/oozie/", + "version": "3.1" + } + } + + ] +} \ No newline at end of file Modified: incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/upcoming_jobs.json URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/upcoming_jobs.json?rev=1465166&r1=1465165&r2=1465166&view=diff ============================================================================== --- incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/upcoming_jobs.json (original) +++ incubator/ambari/trunk/ambari-web/app/assets/data/mirroring/upcoming_jobs.json Sat Apr 6 01:55:42 2013 @@ -17,5 +17,4 @@ "data" : 100 } ] -} -w \ No newline at end of file +} \ No newline at end of file
