You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2013/10/01 04:05:15 UTC

git commit: AMBARI-3394: dfs.datanode.du.reserved expects the value in bytes, currently assumption is GB. (jaimin)

Updated Branches:
  refs/heads/trunk 4cfd9f7a9 -> 9d45df2f7


AMBARI-3394: dfs.datanode.du.reserved expects the value in bytes, currently assumption is GB. (jaimin)


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

Branch: refs/heads/trunk
Commit: 9d45df2f7286061cbeddb0a754dab72c53e705b9
Parents: 4cfd9f7
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Mon Sep 30 19:04:46 2013 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Mon Sep 30 19:04:53 2013 -0700

----------------------------------------------------------------------
 .../stacks/HDP/2.0.5/services/HDFS/configuration/global.xml      | 2 +-
 .../stacks/HDP/2.0.6/services/HDFS/configuration/global.xml      | 2 +-
 .../stacks/HDPLocal/2.0.5/services/HDFS/configuration/global.xml | 2 +-
 .../stacks/HDPLocal/2.0.6/services/HDFS/configuration/global.xml | 2 +-
 ambari-web/app/data/HDP2/global_properties.js                    | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9d45df2f/ambari-server/src/main/resources/stacks/HDP/2.0.5/services/HDFS/configuration/global.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.5/services/HDFS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.5/services/HDFS/configuration/global.xml
index d4a478d..59b68ac 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.5/services/HDFS/configuration/global.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.5/services/HDFS/configuration/global.xml
@@ -88,7 +88,7 @@
   </property>
   <property>
     <name>datanode_du_reserved</name>
-    <value>1</value>
+    <value>1073741824</value>
     <description>Reserved space for HDFS</description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9d45df2f/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml
index d4a478d..59b68ac 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml
@@ -88,7 +88,7 @@
   </property>
   <property>
     <name>datanode_du_reserved</name>
-    <value>1</value>
+    <value>1073741824</value>
     <description>Reserved space for HDFS</description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9d45df2f/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/services/HDFS/configuration/global.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/services/HDFS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/services/HDFS/configuration/global.xml
index d4a478d..59b68ac 100644
--- a/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/services/HDFS/configuration/global.xml
+++ b/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/services/HDFS/configuration/global.xml
@@ -88,7 +88,7 @@
   </property>
   <property>
     <name>datanode_du_reserved</name>
-    <value>1</value>
+    <value>1073741824</value>
     <description>Reserved space for HDFS</description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9d45df2f/ambari-server/src/main/resources/stacks/HDPLocal/2.0.6/services/HDFS/configuration/global.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/2.0.6/services/HDFS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/2.0.6/services/HDFS/configuration/global.xml
index d4a478d..59b68ac 100644
--- a/ambari-server/src/main/resources/stacks/HDPLocal/2.0.6/services/HDFS/configuration/global.xml
+++ b/ambari-server/src/main/resources/stacks/HDPLocal/2.0.6/services/HDFS/configuration/global.xml
@@ -88,7 +88,7 @@
   </property>
   <property>
     <name>datanode_du_reserved</name>
-    <value>1</value>
+    <value>1073741824</value>
     <description>Reserved space for HDFS</description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9d45df2f/ambari-web/app/data/HDP2/global_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2/global_properties.js b/ambari-web/app/data/HDP2/global_properties.js
index 13c58bb..37ac044 100644
--- a/ambari-web/app/data/HDP2/global_properties.js
+++ b/ambari-web/app/data/HDP2/global_properties.js
@@ -254,9 +254,9 @@ module.exports =
       "name": "datanode_du_reserved",
       "displayName": "Reserved space for HDFS",
       "description": "Reserved space in GB per volume",
-      "defaultValue": "1",
+      "defaultValue": "1073741824",
       "displayType": "int",
-      "unit": "GB",
+      "unit": "bytes",
       "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",