hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [17/50] [abbrv] hadoop git commit: HDDS-619. hdds.db.profile should not be tagged as a required setting & should default to DISK. Contributed by Dinesh Chitlangia.
Date Fri, 12 Oct 2018 12:28:34 GMT
HDDS-619. hdds.db.profile should not be tagged as a required setting & should default to
DISK. Contributed by Dinesh Chitlangia.


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

Branch: refs/heads/HDFS-13891
Commit: 2bd000c85195416b9bcd06a3abb5100aeeda9727
Parents: 045069e
Author: Arpit Agarwal <arp@apache.org>
Authored: Wed Oct 10 17:37:20 2018 -0700
Committer: Arpit Agarwal <arp@apache.org>
Committed: Wed Oct 10 17:37:20 2018 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java     | 2 +-
 hadoop-hdds/common/src/main/resources/ozone-default.xml          | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2bd000c8/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java
----------------------------------------------------------------------
diff --git a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java
index 13b3bb7..210b075 100644
--- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java
+++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java
@@ -72,7 +72,7 @@ public final class HddsConfigKeys {
 
   // DB Profiles used by ROCKDB instances.
   public static final String HDDS_DB_PROFILE = "hdds.db.profile";
-  public static final DBProfile HDDS_DEFAULT_DB_PROFILE = DBProfile.SSD;
+  public static final DBProfile HDDS_DEFAULT_DB_PROFILE = DBProfile.DISK;
 
   // Once a container usage crosses this threshold, it is eligible for
   // closing.

http://git-wip-us.apache.org/repos/asf/hadoop/blob/2bd000c8/hadoop-hdds/common/src/main/resources/ozone-default.xml
----------------------------------------------------------------------
diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml b/hadoop-hdds/common/src/main/resources/ozone-default.xml
index aee471e..ef54ed2 100644
--- a/hadoop-hdds/common/src/main/resources/ozone-default.xml
+++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml
@@ -1184,8 +1184,8 @@
 
   <property>
     <name>hdds.db.profile</name>
-    <value>SSD</value>
-    <tag>OZONE, OM, PERFORMANCE, REQUIRED</tag>
+    <value>DISK</value>
+    <tag>OZONE, OM, PERFORMANCE</tag>
     <description>This property allows user to pick a configuration
     that tunes the RocksDB settings for the hardware it is running
     on. Right now, we have SSD and DISK as profile options.</description>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message