HBASE-18219 Fix typo in constant HConstants.HBASE_CLIENT_MEAT_REPLICA_SCAN_TIMEOUT
This commit is contained in:
parent
58b377751a
commit
50e28d62a6
|
@ -76,8 +76,8 @@ public class ConnectionConfiguration {
|
|||
conf.getInt("hbase.client.replicaCallTimeout.scan", 1000000); // 1000 ms
|
||||
|
||||
this.metaReplicaCallTimeoutMicroSecondScan =
|
||||
conf.getInt(HConstants.HBASE_CLIENT_MEAT_REPLICA_SCAN_TIMEOUT,
|
||||
HConstants.HBASE_CLIENT_MEAT_REPLICA_SCAN_TIMEOUT_DEFAULT);
|
||||
conf.getInt(HConstants.HBASE_CLIENT_META_REPLICA_SCAN_TIMEOUT,
|
||||
HConstants.HBASE_CLIENT_META_REPLICA_SCAN_TIMEOUT_DEFAULT);
|
||||
|
||||
this.retries = conf.getInt(
|
||||
HConstants.HBASE_CLIENT_RETRIES_NUMBER, HConstants.DEFAULT_HBASE_CLIENT_RETRIES_NUMBER);
|
||||
|
@ -112,7 +112,7 @@ public class ConnectionConfiguration {
|
|||
this.primaryCallTimeoutMicroSecond = 10000;
|
||||
this.replicaCallTimeoutMicroSecondScan = 1000000;
|
||||
this.metaReplicaCallTimeoutMicroSecondScan =
|
||||
HConstants.HBASE_CLIENT_MEAT_REPLICA_SCAN_TIMEOUT_DEFAULT;
|
||||
HConstants.HBASE_CLIENT_META_REPLICA_SCAN_TIMEOUT_DEFAULT;
|
||||
this.retries = HConstants.DEFAULT_HBASE_CLIENT_RETRIES_NUMBER;
|
||||
this.clientScannerAsyncPrefetch = Scan.DEFAULT_HBASE_CLIENT_SCANNER_ASYNC_PREFETCH;
|
||||
this.maxKeyValueSize = MAX_KEYVALUE_SIZE_DEFAULT;
|
||||
|
|
|
@ -308,11 +308,11 @@ public final class HConstants {
|
|||
public static final int DEFAULT_HBASE_CLIENT_OPERATION_TIMEOUT = 1200000;
|
||||
|
||||
/** Parameter name for HBase client meta replica scan call timeout. */
|
||||
public static final String HBASE_CLIENT_MEAT_REPLICA_SCAN_TIMEOUT =
|
||||
public static final String HBASE_CLIENT_META_REPLICA_SCAN_TIMEOUT =
|
||||
"hbase.client.meta.replica.scan.timeout";
|
||||
|
||||
/** Default HBase client meta replica scan call timeout, 1 second */
|
||||
public static final int HBASE_CLIENT_MEAT_REPLICA_SCAN_TIMEOUT_DEFAULT = 1000000;
|
||||
public static final int HBASE_CLIENT_META_REPLICA_SCAN_TIMEOUT_DEFAULT = 1000000;
|
||||
|
||||
/** Used to construct the name of the log directory for a region server */
|
||||
public static final String HREGION_LOGDIR_NAME = "WALs";
|
||||
|
|
|
@ -253,7 +253,7 @@ public class TestReplicaWithCluster {
|
|||
HTU.getConfiguration().set("hbase.coprocessor.region.classes",
|
||||
RegionServerHostingPrimayMetaRegionSlowOrStopCopro.class.getName());
|
||||
|
||||
HTU.getConfiguration().setInt(HConstants.HBASE_CLIENT_MEAT_REPLICA_SCAN_TIMEOUT,
|
||||
HTU.getConfiguration().setInt(HConstants.HBASE_CLIENT_META_REPLICA_SCAN_TIMEOUT,
|
||||
META_SCAN_TIMEOUT_IN_MILLISEC * 1000);
|
||||
|
||||
HTU.startMiniCluster(NB_SERVERS);
|
||||
|
|
Loading…
Reference in New Issue