Read replica properties
You must understand the various properties to configure to enable support for read replicas in HBase.
Property Name | Default Value | Description |
---|---|---|
hbase.region.replica.replication.enabled |
false |
The mechanism for refreshing the secondary replicas. If set to If |
hbase.regionserver.storefile.refresh.period |
0 (disabled) |
The period, in milliseconds, for refreshing the store files for the secondary
replicas. The default value of |
hbase.ipc.client.allowsInterrupt |
true |
Whether or not to enable interruption of RPC threads at the client. The default value
of true enables primary RegionServers to access data from other regions'
secondary replicas. |
hbase.client.primaryCallTimeout.get |
10 ms |
The timeout period, in milliseconds, an HBase client's will wait for a response before the read is submitted to a secondary replica if the read request allows timeline consistency. The default value is 10. Lower values increase the number of remote procedure calls while lowering latency. |
hbase.client.primaryCallTimeout.multiget |
10 ms |
The timeout period, in milliseconds, before an HBase client's multi-get request, such
as HTable.get(List<GET>) ), is submitted to a secondary replica if the
multi-get request allows timeline consistency. Lower values increase the number of remote
procedure calls while lowering latency. |