hbase.client.operation.timeout is used by HBaseAdmin operations, by
RegionReplicaFlushHandler
and by various HTable operations (including Get).

hbase.rpc.timeout is for the RPC layer to define how long HBase client
applications take for a remote call to time out. It uses pings to check
connections but will eventually throw a TimeoutException.

FYI

On Sun, May 17, 2015 at 11:11 PM, Jianshi Huang <jianshi.hu...@gmail.com>
wrote:

> Hi,
>
> I need to set tight timeout for get/scan operations and I think HBase
> Client already support it.
>
> I found three related keys:
>
> - hbase.client.operation.timeout
> - hbase.rpc.timeout
> - hbase.client.retries.number
>
> What's the difference between hbase.client.operation.timeout and
> hbase.rpc.timeout?
> My understanding is that hbase.rpc.timeout has larger scope than hbase.
> client.operation.timeout, so setting hbase.client.operation.timeout  is
> safer. Am I correct?
>
> And any other property keys I can uses?
>
> --
> Jianshi Huang
>
> LinkedIn: jianshi
> Twitter: @jshuang
> Github & Blog: http://huangjs.github.com/
>

Reply via email to