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

This commit is contained in:
Michael Stack 2017-12-28 14:59:40 -08:00
parent 9d02e37a8a
commit b3a4fca48f
3 changed files with 4 additions and 4 deletions

View File

@ -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";

View File

@ -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>

View File

@ -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);