ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject [1/2] AMBARI-7018. Stack API should provide display name for services and components. (jaimin)
Date Tue, 26 Aug 2014 19:44:49 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk fb9d884be -> 02ee3d440


http://git-wip-us.apache.org/repos/asf/ambari/blob/02ee3d44/ambari-web/test/service_components.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/service_components.js b/ambari-web/test/service_components.js
index fe7feca..8b89ab3 100644
--- a/ambari-web/test/service_components.js
+++ b/ambari-web/test/service_components.js
@@ -22,6 +22,7 @@ module.exports = {
       "StackServices" : {
         "comments" : "Apache Hadoop Distributed Processing Framework",
         "service_name" : "MAPREDUCE",
+        "display_name" : "MapReduce",
         "service_version" : "1.2.0.1.3.3.0",
         "stack_name" : "HDP",
         "stack_version" : "1.3.2"
@@ -31,6 +32,7 @@ module.exports = {
           "StackServiceComponents" : {
             "component_category" : "MASTER",
             "component_name" : "HISTORYSERVER",
+            "display_name" : "History Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "MAPREDUCE",
@@ -43,6 +45,7 @@ module.exports = {
           "StackServiceComponents" : {
             "component_category" : "MASTER",
             "component_name" : "JOBTRACKER",
+            "display_name" : "JobTracker",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "MAPREDUCE",
@@ -55,6 +58,7 @@ module.exports = {
           "StackServiceComponents" : {
             "component_category" : "CLIENT",
             "component_name" : "MAPREDUCE_CLIENT",
+            "display_name" : "MapReduce Client",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "MAPREDUCE",
@@ -67,6 +71,7 @@ module.exports = {
           "StackServiceComponents" : {
             "component_category" : "SLAVE",
             "component_name" : "TASKTRACKER",
+            "display_name" : "TaskTracker",
             "is_client" : false,
             "is_master" : false,
             "service_name" : "MAPREDUCE",
@@ -84,6 +89,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "FALCON",
+        "display_name" : "Falcon",
         "service_version" : "0.5.0.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -118,6 +124,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "FALCON_CLIENT",
+            "display_name" : "Falcon Client",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -133,6 +140,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "FALCON_SERVER",
+            "display_name" : "Falcon Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -172,6 +180,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "FLUME",
+        "display_name" : "Flume",
         "service_version" : "1.4.0.2.1.1.0",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -201,6 +210,7 @@ module.exports = {
             "cardinality" : "0+",
             "component_category" : "SLAVE",
             "component_name" : "FLUME_HANDLER",
+            "display_name" : "Flume",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : false,
@@ -219,6 +229,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : false,
         "service_name" : "GANGLIA",
+        "display_name" : "Ganglia",
         "service_version" : "3.5.0",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -238,6 +249,7 @@ module.exports = {
             "cardinality" : "ALL",
             "component_category" : "SLAVE",
             "component_name" : "GANGLIA_MONITOR",
+            "display_name" : "Ganglia Monitor",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : false,
@@ -256,6 +268,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "GANGLIA_SERVER",
+            "display_name" : "Ganglia Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -274,6 +287,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "HBASE",
+        "display_name" : "HBase",
         "service_version" : "0.98.0.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -308,6 +322,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "HBASE_CLIENT",
+            "display_name" : "HBase Client",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -323,6 +338,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "MASTER",
             "component_name" : "HBASE_MASTER",
+            "display_name" : "HBase Master",
             "custom_commands" : [
               "DECOMMISSION"
             ],
@@ -361,6 +377,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "SLAVE",
             "component_name" : "HBASE_REGIONSERVER",
+            "display_name" : "RegionServer",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : false,
@@ -379,6 +396,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "HCATALOG",
+        "display_name" : "HCatalog",
         "service_version" : "0.12.0.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -403,6 +421,7 @@ module.exports = {
             "cardinality" : null,
             "component_category" : "CLIENT",
             "component_name" : "HCAT",
+            "display_name" : "HCat",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -421,6 +440,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "HDFS",
+        "display_name" : "HDFS",
         "service_version" : "2.4.0.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -460,6 +480,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "SLAVE",
             "component_name" : "DATANODE",
+            "display_name" : "DataNode",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : false,
@@ -475,6 +496,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "HDFS_CLIENT",
+            "display_name" : "HDFS Client",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -490,6 +512,7 @@ module.exports = {
             "cardinality" : "0+",
             "component_category" : "SLAVE",
             "component_name" : "JOURNALNODE",
+            "display_name" : "JournalNode",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : false,
@@ -505,6 +528,7 @@ module.exports = {
             "cardinality" : "1-2",
             "component_category" : "MASTER",
             "component_name" : "NAMENODE",
+            "display_name" : "NameNode",
             "custom_commands" : [
               "DECOMMISSION"
             ],
@@ -522,6 +546,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "SECONDARY_NAMENODE",
+            "display_name" : "SNameNode",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -537,6 +562,7 @@ module.exports = {
             "cardinality" : "0+",
             "component_category" : "SLAVE",
             "component_name" : "ZKFC",
+            "display_name" : "ZKFailoverController",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : false,
@@ -555,6 +581,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "HIVE",
+        "display_name" : "Hive",
         "service_version" : "0.13.0.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -594,6 +621,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "HIVE_CLIENT",
+            "display_name" : "Hive Client",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -609,6 +637,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "HIVE_METASTORE",
+            "display_name" : "Hive Metastore",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -628,6 +657,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "HIVE_SERVER",
+            "display_name" : "HiveServer2",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -684,6 +714,7 @@ module.exports = {
             "cardinality" : "0-1",
             "component_category" : "MASTER",
             "component_name" : "MYSQL_SERVER",
+            "display_name" : "MySQL Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -702,6 +733,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "MAPREDUCE2",
+        "display_name" : "MapReduce2",
         "service_version" : "2.1.0.2.0.6.0",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -736,6 +768,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "HISTORYSERVER",
+            "display_name" : "History Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -766,6 +799,7 @@ module.exports = {
             "cardinality" : "0+",
             "component_category" : "CLIENT",
             "component_name" : "MAPREDUCE2_CLIENT",
+            "display_name" : "MapReduce2 Client",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -784,6 +818,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : false,
         "service_name" : "NAGIOS",
+        "display_name" : "Nagios",
         "service_version" : "3.5.0",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -803,6 +838,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "NAGIOS_SERVER",
+            "display_name" : "Nagios Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -882,6 +918,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "OOZIE",
+        "display_name" : "Oozie",
         "service_version" : "4.0.0.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -916,6 +953,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "OOZIE_CLIENT",
+            "display_name" : "Oozie Client",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -952,6 +990,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "OOZIE_SERVER",
+            "display_name" : "Oozie Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -1001,6 +1040,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "PIG",
+        "display_name" : "Pig",
         "service_version" : "0.12.1.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -1030,6 +1070,7 @@ module.exports = {
             "cardinality" : "0+",
             "component_category" : "CLIENT",
             "component_name" : "PIG",
+            "display_name" : "Pig",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -1048,6 +1089,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "SQOOP",
+        "display_name" : "Sqoop",
         "service_version" : "1.4.4.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -1067,6 +1109,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "SQOOP",
+            "display_name" : "Sqoop",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -1106,6 +1149,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "STORM",
+        "display_name" : "Storm",
         "service_version" : "0.9.1.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -1130,6 +1174,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "DRPC_SERVER",
+            "display_name" : "DRPC Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -1145,6 +1190,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "NIMBUS",
+            "display_name" : "Nimbus",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -1171,6 +1217,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "STORM_REST_API",
+            "display_name" : "Storm REST API Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -1186,6 +1233,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "STORM_UI_SERVER",
+            "display_name" : "Storm UI Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -1201,6 +1249,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "SLAVE",
             "component_name" : "SUPERVISOR",
+            "display_name" : "Supervisor",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : false,
@@ -1219,6 +1268,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : false,
         "service_name" : "TEZ",
+        "display_name" : "Tez",
         "service_version" : "0.4.0.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -1243,6 +1293,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "TEZ_CLIENT",
+            "display_name" : "Tez Client",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -1261,6 +1312,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "WEBHCAT",
+        "display_name" : "WebHCat",
         "service_version" : "0.13.0.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -1285,6 +1337,7 @@ module.exports = {
             "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "WEBHCAT_SERVER",
+            "display_name" : "WebHCat Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -1354,6 +1407,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "YARN",
+        "display_name" : "YARN",
         "service_version" : "2.4.0.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -1393,6 +1447,7 @@ module.exports = {
             "cardinality" : "0-1",
             "component_category" : "MASTER",
             "component_name" : "APP_TIMELINE_SERVER",
+            "display_name" : "App Timeline Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,
@@ -1408,6 +1463,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "SLAVE",
             "component_name" : "NODEMANAGER",
+            "display_name" : "NodeManager",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : false,
@@ -1423,6 +1479,7 @@ module.exports = {
             "cardinality" : "1-2",
             "component_category" : "MASTER",
             "component_name" : "RESOURCEMANAGER",
+            "display_name" : "ResourceManager",
             "custom_commands" : [
               "DECOMMISSION",
               "REFRESHQUEUES"
@@ -1441,6 +1498,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "YARN_CLIENT",
+            "display_name" : "YARN Client",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -1459,6 +1517,7 @@ module.exports = {
         "custom_commands" : [ ],
         "service_check_supported" : true,
         "service_name" : "ZOOKEEPER",
+        "display_name" : "ZooKeeper",
         "service_version" : "3.4.5.2.1",
         "stack_name" : "HDP",
         "stack_version" : "2.1",
@@ -1488,6 +1547,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "ZOOKEEPER_CLIENT",
+            "display_name" : "ZooKeeper Client",
             "custom_commands" : [ ],
             "is_client" : true,
             "is_master" : false,
@@ -1503,6 +1563,7 @@ module.exports = {
             "cardinality" : "1+",
             "component_category" : "MASTER",
             "component_name" : "ZOOKEEPER_SERVER",
+            "display_name" : "ZooKeeper Server",
             "custom_commands" : [ ],
             "is_client" : false,
             "is_master" : true,


Mime
View raw message