Browse Source

AMBARI-1982. Disallow editing Hadoop log/PID directories post install. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1469641 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 years ago
parent
commit
9586b4569f
2 changed files with 5 additions and 0 deletions
  1. 3 0
      CHANGES.txt
  2. 2 0
      ambari-web/app/data/config_properties.js

+ 3 - 0
CHANGES.txt

@@ -269,6 +269,9 @@ Trunk (unreleased changes):
 
  IMPROVEMENTS
 
+ AMBARI-1982. Disallow editing Hadoop log/PID directories post install.
+ (yusaku)
+
  AMBARI-1981. Expose ability to customize the username for running
  Ganglia daemons. (yusaku)
 

+ 2 - 0
ambari-web/app/data/config_properties.js

@@ -494,6 +494,7 @@ module.exports =
       "displayName": "Hadoop Log Dir Prefix",
       "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",
+      "isReconfigurable": false,
       "displayType": "directory",
       "isOverridable": false,
       "isVisible": true,
@@ -507,6 +508,7 @@ module.exports =
       "displayName": "Hadoop PID Dir Prefix",
       "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",
+      "isReconfigurable": false,
       "displayType": "directory",
       "isOverridable": false,
       "isVisible": true,