HBASE-2081 Set the retries higher in shell since client pause is lower
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@894743 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bd3e171467
commit
1241459503
|
@ -267,6 +267,7 @@ Release 0.21.0 - Unreleased
|
||||||
HBASE-2068 MetricsRate is missing "registry" parameter (Lars George via JD)
|
HBASE-2068 MetricsRate is missing "registry" parameter (Lars George via JD)
|
||||||
HBASE-2025 0.20.2 accessed from older client throws
|
HBASE-2025 0.20.2 accessed from older client throws
|
||||||
UndeclaredThrowableException; frustrates rolling upgrade
|
UndeclaredThrowableException; frustrates rolling upgrade
|
||||||
|
HBASE-2081 Set the retries higher in shell since client pause is lower
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
HBASE-1901 "General" partitioner for "hbase-48" bulk (behind the api, write
|
HBASE-1901 "General" partitioner for "hbase-48" bulk (behind the api, write
|
||||||
|
|
|
@ -87,7 +87,7 @@ require 'HBase'
|
||||||
# Setup the HBase module. Create a configuration.
|
# Setup the HBase module. Create a configuration.
|
||||||
# Turn off retries in hbase and ipc. Human doesn't want to wait on N retries.
|
# Turn off retries in hbase and ipc. Human doesn't want to wait on N retries.
|
||||||
@configuration = org.apache.hadoop.hbase.HBaseConfiguration.new()
|
@configuration = org.apache.hadoop.hbase.HBaseConfiguration.new()
|
||||||
@configuration.setInt("hbase.client.retries.number", 5)
|
@configuration.setInt("hbase.client.retries.number", 7)
|
||||||
@configuration.setInt("ipc.client.connect.max.retries", 3)
|
@configuration.setInt("ipc.client.connect.max.retries", 3)
|
||||||
|
|
||||||
# Do lazy create of admin because if we are pointed at bad master, it will hang
|
# Do lazy create of admin because if we are pointed at bad master, it will hang
|
||||||
|
|
Loading…
Reference in New Issue