You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2017/05/26 18:08:50 UTC

hbase git commit: HBASE-18118 Default storage policy if not configured cannot be "NONE"

Repository: hbase
Updated Branches:
  refs/heads/master 8b5c161cb -> 564c193d6


HBASE-18118 Default storage policy if not configured cannot be "NONE"


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

Branch: refs/heads/master
Commit: 564c193d61cd1f92688a08a3af6d55ce4c4636d8
Parents: 8b5c161
Author: Andrew Purtell <ap...@apache.org>
Authored: Thu May 25 18:44:54 2017 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Fri May 26 11:08:46 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/HConstants.java | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/564c193d/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
index c0c73d5..d67cb55 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
@@ -1093,14 +1093,10 @@ public final class HConstants {
     "hbase.regionserver.wal.enablecompression";
 
   /** Configuration name of WAL storage policy
-   * Valid values are:
-   *  NONE: no preference in destination of block replicas
-   *  ONE_SSD: place only one block replica in SSD and the remaining in default storage
-   *  and ALL_SSD: place all block replicas on SSD
-   *
-   * See http://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-hdfs/ArchivalStorage.html*/
+   * Valid values are: HOT, COLD, WARM, ALL_SSD, ONE_SSD, LAZY_PERSIST
+   * See http://hadoop.apache.org/docs/r2.7.3/hadoop-project-dist/hadoop-hdfs/ArchivalStorage.html*/
   public static final String WAL_STORAGE_POLICY = "hbase.wal.storage.policy";
-  public static final String DEFAULT_WAL_STORAGE_POLICY = "NONE";
+  public static final String DEFAULT_WAL_STORAGE_POLICY = "HOT";
 
   /** Region in Transition metrics threshold time */
   public static final String METRICS_RIT_STUCK_WARNING_THRESHOLD =