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 2013/03/14 00:57:19 UTC

svn commit: r1456283 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/data/config_properties.js

Author: yusaku
Date: Wed Mar 13 23:57:19 2013
New Revision: 1456283

URL: http://svn.apache.org/r1456283
Log:
AMBARI-1621. Config/Reconfig UI should not allow certain configs to have host-level overrides. (yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-web/app/data/config_properties.js

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1456283&r1=1456282&r2=1456283&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed Mar 13 23:57:19 2013
@@ -474,6 +474,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1621. Config/Reconfig UI should not allow certain configs to have
+ host-level overrides. (yusaku)
+
  AMBARI-1597. Templeton smoke test fails for secure cluster. (swagle)
 
  AMBARI-1600. Make component naming consistent. (yusaku)

Modified: incubator/ambari/trunk/ambari-web/app/data/config_properties.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/data/config_properties.js?rev=1456283&r1=1456282&r2=1456283&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/data/config_properties.js (original)
+++ incubator/ambari/trunk/ambari-web/app/data/config_properties.js Wed Mar 13 23:57:19 2013
@@ -38,6 +38,10 @@
  *     If this is unspecified, true is assumed.
  *     E.g., true, false
  *
+ *   isOverridable:
+ *     Whether the config property can be overridden by hosts.
+ *     If this is unspecified, true is assumed.
+ *
  *   isRequired:
  *     Whether the config property is required or not.
  *     If this is unspecified, true is assumed.
@@ -72,6 +76,7 @@ module.exports =
       "defaultValue": "",
       "description": "The host that has been assigned to run HBase Master",
       "displayType": "masterHosts",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HBASE",
@@ -85,6 +90,7 @@ module.exports =
       "defaultValue": "",
       "description": "The hosts that have been assigned to run RegionServer",
       "displayType": "slaveHosts",
+      "isOverridable": false,
       "isVisible": true,
       "isRequired": false,
       "domain": "regionserver-global",
@@ -99,6 +105,7 @@ module.exports =
       "defaultValue": "/var/log/hbase",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HBASE",
@@ -112,6 +119,7 @@ module.exports =
       "defaultValue": "/var/run/hbase",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HBASE",
@@ -138,6 +146,7 @@ module.exports =
       "defaultValue": "1024",
       "displayType": "int",
       "unit": "MB",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HBASE",
@@ -403,6 +412,7 @@ module.exports =
       "defaultValue": "",
       "description": "The host that has been assigned to run NameNode",
       "displayType": "masterHost",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
@@ -415,8 +425,8 @@ module.exports =
       "description": "NameNode directories for HDFS to store the file system image",
       "defaultValue": "",
       "defaultDirectory": "/hadoop/hdfs/namenode",
-      "isReconfigurable": false,
       "displayType": "directories",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
@@ -430,6 +440,7 @@ module.exports =
       "defaultValue": "",
       "description": "The host that has been assigned to run SecondaryNameNode",
       "displayType": "masterHost",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
@@ -444,6 +455,7 @@ module.exports =
       "defaultDirectory": "/hadoop/hdfs/namesecondary",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
@@ -458,6 +470,7 @@ module.exports =
       "description": "The hosts that have been assigned to run DataNode",
       "displayType": "slaveHosts",
       "isRequired": false,
+      "isOverridable": false,
       "isVisible": true,
       "domain": "datanode-global",
       "serviceName": "HDFS",
@@ -470,7 +483,6 @@ module.exports =
       "description": "DataNode directories for HDFS to store the data blocks",
       "defaultValue": "",
       "defaultDirectory": "/hadoop/hdfs/data",
-      "isReconfigurable": false,
       "displayType": "directories",
       "isVisible": true,
       "domain": "datanode-global",
@@ -484,6 +496,7 @@ module.exports =
       "description": "The parent directory for Hadoop log files.  The HDFS log directory will be ${hadoop_log_dir_prefix} / ${hdfs_user} and the MapReduce log directory will be ${hadoop_log_dir_prefix} / ${mapred_user}.",
       "defaultValue": "/var/log/hadoop",
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
@@ -496,6 +509,7 @@ module.exports =
       "description": "The parent directory in which the PID files for Hadoop processes will be created.  The HDFS PID directory will be ${hadoop_pid_dir_prefix} / ${hdfs_user} and the MapReduce PID directory will be ${hadoop_pid_dir_prefix} / ${mapred_user}.",
       "defaultValue": "/var/run/hadoop",
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
@@ -521,6 +535,7 @@ module.exports =
       "description": "Whether to enable WebHDFS feature",
       "defaultValue": false,
       "displayType": "checkbox",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS"
@@ -545,6 +560,7 @@ module.exports =
       "defaultValue": "1024",
       "displayType": "int",
       "unit": "MB",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
@@ -558,6 +574,7 @@ module.exports =
       "defaultValue": "200",
       "displayType": "int",
       "unit": "MB",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
@@ -571,6 +588,7 @@ module.exports =
       "defaultValue": "640",
       "displayType": "int",
       "unit": "MB",
+      "isOverridable": false,
       "isVisible": false,
       "domain": "global",
       "serviceName": "HDFS",
@@ -648,6 +666,7 @@ module.exports =
       "defaultValue": "users",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "filename": "core-site.xml",
       "domain": "global",
@@ -756,6 +775,7 @@ module.exports =
       "defaultValue": false,
       "isRequired": false,
       "displayType": "checkbox",
+      "isOverridable": false,
       "isVisible": false,
       "domain": "global",
       "serviceName": "HDFS",
@@ -807,6 +827,7 @@ module.exports =
       "defaultValue": "",
       "description": "The host that has been assigned to run Hive Metastore",
       "displayType": "masterHost",
+      "isOverridable": false,
       "isVisible": true,
       "serviceName": "HIVE",
       "category": "Hive Metastore"
@@ -861,6 +882,7 @@ module.exports =
       "displayType": "radio button",
       "isReconfigurable": false,
       "radioName": "hive-database",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HIVE",
@@ -875,6 +897,7 @@ module.exports =
       "defaultValue": "MySQL",
       "description": "Using an existing MySQL database for Hive Metastore",
       "displayType": "masterHost",
+      "isOverridable": false,
       "isVisible": false,
       "isReconfigurable": false,
       "domain": "global",
@@ -919,6 +942,7 @@ module.exports =
       "defaultValue": "",
       "isReconfigurable": false,
       "displayType": "host",
+      "isOverridable": false,
       "isVisible": false,
       "domain": "global",
       "serviceName": "HIVE",
@@ -934,6 +958,7 @@ module.exports =
       "description": "Using an existing Oracle database for Hive Metastore",
       "displayType": "masterHost",
       "isVisible": false,
+      "isOverridable": false,
       "isReconfigurable": false,
       "domain": "global",
       "serviceName": "HIVE",
@@ -947,6 +972,7 @@ module.exports =
       "defaultValue": "",
       "isReconfigurable": false,
       "displayType": "host",
+      "isOverridable": false,
       "isVisible": false,
       "domain": "global",
       "serviceName": "HIVE",
@@ -961,6 +987,7 @@ module.exports =
       "defaultValue": "MySQL",
       "description": "MySQL will be installed by Ambari",
       "displayType": "masterHost",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HIVE",
@@ -975,6 +1002,7 @@ module.exports =
       "description": "Host on which the database will be created by Ambari",
       "isReconfigurable": false,
       "displayType": "masterHost",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HIVE",
@@ -988,6 +1016,7 @@ module.exports =
       "defaultValue": "hive",
       "isReconfigurable": false,
       "displayType": "host",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HIVE",
@@ -1001,6 +1030,7 @@ module.exports =
       "defaultValue": "hive",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HIVE",
@@ -1014,6 +1044,7 @@ module.exports =
       "defaultValue": "",
       "isReconfigurable": false,
       "displayType": "password",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HIVE",
@@ -1027,6 +1058,7 @@ module.exports =
       "defaultValue": "9083",
       "isReconfigurable": false,
       "displayType": "int",
+      "isOverridable": false,
       "isVisible": false,
       "domain": "global",
       "serviceName": "HIVE",
@@ -1048,7 +1080,7 @@ module.exports =
     {
       "id": "puppet var",
       "name": "hive_conf_dir",
-      "displayName": "Hive lconf directory",
+      "displayName": "Hive conf directory",
       "description": "",
       "defaultValue": "/etc/hive/conf",
       "isReconfigurable": false,
@@ -1061,7 +1093,7 @@ module.exports =
     {
       "id": "puppet var",
       "name": "hive_dbroot",
-      "displayName": "Hive lconf directory",
+      "displayName": "Hive db directory",
       "description": "",
       "defaultValue": "/usr/lib/hive/lib",
       "isReconfigurable": false,
@@ -1079,6 +1111,7 @@ module.exports =
       "defaultValue": "/var/log/hive",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": false,
       "domain": "global",
       "serviceName": "HIVE",
@@ -1092,6 +1125,7 @@ module.exports =
       "defaultValue": "/var/run/hive",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HIVE",
@@ -1183,6 +1217,7 @@ module.exports =
       "defaultValue": "nobody",
       "isReconfigurable": false,
       "displayType": "advanced",
+      "isOverridable": false,
       "isVisible": false,
       "domain": "global",
       "serviceName": "MISC",
@@ -1196,6 +1231,7 @@ module.exports =
       "defaultValue": "nobody",
       "isReconfigurable": false,
       "displayType": "advanced",
+      "isOverridable": false,
       "isVisible": false,
       "domain": "global",
       "serviceName":"MISC",
@@ -1237,6 +1273,7 @@ module.exports =
       "defaultValue": "/var/log/webhcat",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HIVE",
@@ -1250,6 +1287,7 @@ module.exports =
       "defaultValue": "/var/run/webhcat",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "HIVE",
@@ -1263,6 +1301,7 @@ module.exports =
       "defaultValue": "",
       "description": "The host that has been assigned to run JobTracker",
       "displayType": "masterHost",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MAPREDUCE",
@@ -1276,6 +1315,7 @@ module.exports =
       "defaultValue": "",
       "description": "The hosts that have been assigned to run TaskTracker",
       "displayType": "slaveHosts",
+      "isOverridable": false,
       "isVisible": true,
       "isRequired": false,
       "domain": "tasktracker-global",
@@ -1317,6 +1357,7 @@ module.exports =
       "description": "The scheduler to use for scheduling of MapReduce jobs",
       "defaultValue": "org.apache.hadoop.mapred.CapacityTaskScheduler",
       "displayType": "advanced",
+      "isOverridable": false,
       "isVisible": true,
       "serviceName": "MAPREDUCE"
     },
@@ -1328,6 +1369,7 @@ module.exports =
       "defaultValue": "200",
       "displayType": "int",
       "unit": "MB",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MAPREDUCE",
@@ -1341,6 +1383,7 @@ module.exports =
       "defaultValue": "200",
       "displayType": "int",
       "unit": "MB",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MAPREDUCE",
@@ -1354,6 +1397,7 @@ module.exports =
       "defaultValue": "1024",
       "displayType": "int",
       "unit": "MB",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MAPREDUCE",
@@ -1522,6 +1566,7 @@ module.exports =
       "description": "LZO compression enabled",
       "defaultValue": false,
       "displayType": "checkbox",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MAPREDUCE"
@@ -1534,6 +1579,7 @@ module.exports =
       "defaultValue": true,
       "isReconfigurable": false,
       "displayType": "checkbox",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MAPREDUCE"
@@ -1545,6 +1591,7 @@ module.exports =
       "description": "Tools for tracing the path and troubleshooting the performance of MapReduce jobs",
       "defaultValue": true,
       "isReconfigurable": true,
+      "isOverridable": false,
       "displayType": "checkbox",
       "isVisible": true,
       "domain": "global",
@@ -1792,6 +1839,7 @@ module.exports =
       "defaultValue": "hdfs",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "serviceName": "MISC",
       "domain": "global",
@@ -1805,6 +1853,7 @@ module.exports =
       "defaultValue": "mapred",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1818,6 +1867,7 @@ module.exports =
       "defaultValue": "hbase",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1831,6 +1881,7 @@ module.exports =
       "defaultValue": "hive",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1844,6 +1895,7 @@ module.exports =
       "defaultValue": "hcat",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1857,6 +1909,7 @@ module.exports =
       "defaultValue": "hcat",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1870,6 +1923,7 @@ module.exports =
       "defaultValue": "oozie",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1912,6 +1966,7 @@ module.exports =
       "defaultValue": "pig",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1953,6 +2008,7 @@ module.exports =
       "defaultValue": "sqoop",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1966,6 +2022,7 @@ module.exports =
       "defaultValue": "zookeeper",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1979,6 +2036,7 @@ module.exports =
       "defaultValue": "hadoop",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "MISC",
@@ -1992,6 +2050,7 @@ module.exports =
       "defaultValue": "nagios",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "domain": "global",
       "isVisible": false,
       "serviceName": "NAGIOS"
@@ -2004,6 +2063,7 @@ module.exports =
       "defaultValue": "nagios",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "domain": "global",
       "isVisible": false,
       "serviceName": "NAGIOS"
@@ -2016,6 +2076,7 @@ module.exports =
       "defaultValue": "nagiosadmin",
       "isReconfigurable": false,
       "displayType": "user",
+      "isOverridable": false,
       "domain": "global",
       "isVisible": true,
       "serviceName": "NAGIOS"
@@ -2028,6 +2089,7 @@ module.exports =
       "defaultValue": "",
       "isReconfigurable": false,
       "displayType": "password",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "NAGIOS"
@@ -2039,6 +2101,7 @@ module.exports =
       "description": "Hadoop Administrator email for alert notification",
       "defaultValue": "",
       "displayType": "email",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "NAGIOS"
@@ -2051,6 +2114,7 @@ module.exports =
       "defaultValue": "",
       "description": "The host that has been assigned to run Oozie Server",
       "displayType": "masterHost",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "OOZIE",
@@ -2176,6 +2240,7 @@ module.exports =
       "defaultDirectory": "/hadoop/oozie/data",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "isRequired": false,
       "domain": "global",
@@ -2190,6 +2255,7 @@ module.exports =
       "defaultValue": "/var/log/oozie",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "OOZIE",
@@ -2203,6 +2269,7 @@ module.exports =
       "defaultValue": "/var/run/oozie",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "OOZIE",
@@ -2217,6 +2284,7 @@ module.exports =
       "description": "The host that has been assigned to run ZooKeeper Server",
       "displayType": "masterHosts",
       "isVisible": true,
+      "isOverridable": false,
       "isRequired": false,
       "serviceName": "ZOOKEEPER",
       "category": "ZooKeeper Server"
@@ -2243,6 +2311,7 @@ module.exports =
       "defaultValue": "/var/log/zookeeper",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "ZOOKEEPER",
@@ -2256,6 +2325,7 @@ module.exports =
       "defaultValue": "/var/run/zookeeper",
       "isReconfigurable": false,
       "displayType": "directory",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "ZOOKEEPER",
@@ -2282,6 +2352,7 @@ module.exports =
       "defaultValue": "2000",
       "displayType": "int",
       "unit": "ms",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "ZOOKEEPER",
@@ -2294,6 +2365,7 @@ module.exports =
       "description": "Amount of time, in ticks to allow followers to connect and sync to a leader",
       "defaultValue": "10",
       "displayType": "int",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "ZOOKEEPER",
@@ -2306,6 +2378,7 @@ module.exports =
       "description": "Amount of time, in ticks to allow followers to connect",
       "defaultValue": "5",
       "displayType": "int",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "ZOOKEEPER",
@@ -2318,6 +2391,7 @@ module.exports =
       "description": "Port for running ZooKeeper server",
       "defaultValue": "2181",
       "displayType": "int",
+      "isOverridable": false,
       "isVisible": true,
       "domain": "global",
       "serviceName": "ZOOKEEPER",
@@ -2344,6 +2418,7 @@ module.exports =
       "description": "Default directory for saving the rrd files on ganglia server",
       "defaultValue": "/var/lib/ganglia/rrds",
       "displayType": "directory",
+      "isOverridable": false,
       "domain": "global",
       "serviceName": "MISC",
       "category": "General"