You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2015/05/12 21:40:27 UTC

ambari git commit: AMBARI-11082. Namenode heapsize should depend on 'dfs.datanode.data.dir' value (srimanth)

Repository: ambari
Updated Branches:
  refs/heads/trunk 2dcf4f310 -> bd1971616


AMBARI-11082. Namenode heapsize should depend on 'dfs.datanode.data.dir' value (srimanth)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bd197161
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bd197161
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bd197161

Branch: refs/heads/trunk
Commit: bd197161612b70739a2e6145916ce2074e63e8ab
Parents: 2dcf4f3
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Tue May 12 11:39:28 2015 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Tue May 12 11:39:34 2015 -0700

----------------------------------------------------------------------
 .../HDFS/2.1.0.2.0/configuration/hadoop-env.xml                | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bd197161/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hadoop-env.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hadoop-env.xml b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hadoop-env.xml
index 5d363b5..3cff24c 100644
--- a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hadoop-env.xml
+++ b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hadoop-env.xml
@@ -53,6 +53,12 @@
       <unit>MB</unit>
       <increment-step>256</increment-step>
     </value-attributes>
+    <depends-on>
+      <property>
+        <type>hdfs-site</type>
+        <name>dfs.datanode.data.dir</name>
+      </property>
+    </depends-on>
   </property>
   <property>
     <name>namenode_opt_newsize</name>