You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2017/12/28 23:01:59 UTC

hbase git commit: HBASE-19660 Up default retries from 10 to 15 and blocking store files limit from 10 to 16

Repository: hbase
Updated Branches:
  refs/heads/master 9d02e37a8 -> b3a4fca48


HBASE-19660 Up default retries from 10 to 15 and blocking store files limit from 10 to 16


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

Branch: refs/heads/master
Commit: b3a4fca48ffcac44ec1e1d53a99caa18b7e14cbf
Parents: 9d02e37
Author: Michael Stack <st...@apache.org>
Authored: Thu Dec 28 14:59:40 2017 -0800
Committer: Michael Stack <st...@apache.org>
Committed: Thu Dec 28 14:59:40 2017 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/HConstants.java        | 2 +-
 hbase-common/src/main/resources/hbase-default.xml                | 4 ++--
 .../main/java/org/apache/hadoop/hbase/regionserver/HStore.java   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b3a4fca4/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 bc6f975..d09f722 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
@@ -776,7 +776,7 @@ public final class HConstants {
   /**
    * Default value of {@link #HBASE_CLIENT_RETRIES_NUMBER}.
    */
-  public static final int DEFAULT_HBASE_CLIENT_RETRIES_NUMBER = 10;
+  public static final int DEFAULT_HBASE_CLIENT_RETRIES_NUMBER = 15;
 
   public static final String HBASE_CLIENT_SERVERSIDE_RETRIES_MULTIPLIER =
       "hbase.client.serverside.retries.multiplier";

http://git-wip-us.apache.org/repos/asf/hbase/blob/b3a4fca4/hbase-common/src/main/resources/hbase-default.xml
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml
index 8a34bad..bfae33c 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -506,7 +506,7 @@ possible configurations would overwhelm and obscure the important.
   </property>
   <property>
     <name>hbase.client.retries.number</name>
-    <value>10</value>
+    <value>15</value>
     <description>Maximum retries.  Used as maximum for all retryable
     operations such as the getting of a cell's value, starting a row update,
     etc.  Retry interval is a rough function based on hbase.client.pause.  At
@@ -737,7 +737,7 @@ possible configurations would overwhelm and obscure the important.
   </property>
   <property>
     <name>hbase.hstore.blockingStoreFiles</name>
-    <value>10</value>
+    <value>16</value>
     <description> If more than this number of StoreFiles exist in any one Store (one StoreFile
      is written per flush of MemStore), updates are blocked for this region until a compaction is
       completed, or until hbase.hstore.blockingWaitTime has been exceeded.</description>

http://git-wip-us.apache.org/repos/asf/hbase/blob/b3a4fca4/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
index 5e6db76..269ecbd 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
@@ -132,7 +132,7 @@ public class HStore implements Store, HeapSize, StoreConfigInformation, Propagat
   // keep in accordance with HDFS default storage policy
   public static final String DEFAULT_BLOCK_STORAGE_POLICY = "HOT";
   public static final int DEFAULT_COMPACTCHECKER_INTERVAL_MULTIPLIER = 1000;
-  public static final int DEFAULT_BLOCKING_STOREFILE_COUNT = 10;
+  public static final int DEFAULT_BLOCKING_STOREFILE_COUNT = 16;
 
   private static final Logger LOG = LoggerFactory.getLogger(HStore.class);