You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by wang shu <uc...@gmail.com> on 2016/12/09 23:17:39 UTC

Question about RPC call timeout

Hi all,

I have a very stress test on hbase by creating 1000 threads at the client
side, and each thread will call PUT function, and the client will throw out
some rpctimeout exception. It seems that the client will continue retrying
until the result is not NULL. Is that possible the rpc call already reach
the server rpc calllqueue, but still have timeout exception? If it is true,
does that mean the same rpc call will be executed twice?

Thanks a lot for your help.

Best,

Shu

Re: Question about RPC call timeout

Posted by wang shu <uc...@gmail.com>.
I see, thanks a lot.

2016-12-10 3:35 GMT-06:00 Guanghao Zhang <zg...@gmail.com>:

> Yes. For idempotent operations, the same rpc call can be executed twice.
>
> 2016-12-10 7:17 GMT+08:00 wang shu <uc...@gmail.com>:
>
> > Hi all,
> >
> > I have a very stress test on hbase by creating 1000 threads at the client
> > side, and each thread will call PUT function, and the client will throw
> out
> > some rpctimeout exception. It seems that the client will continue
> retrying
> > until the result is not NULL. Is that possible the rpc call already reach
> > the server rpc calllqueue, but still have timeout exception? If it is
> true,
> > does that mean the same rpc call will be executed twice?
> >
> > Thanks a lot for your help.
> >
> > Best,
> >
> > Shu
> >
>

Re: Question about RPC call timeout

Posted by Guanghao Zhang <zg...@gmail.com>.
Yes. For idempotent operations, the same rpc call can be executed twice.

2016-12-10 7:17 GMT+08:00 wang shu <uc...@gmail.com>:

> Hi all,
>
> I have a very stress test on hbase by creating 1000 threads at the client
> side, and each thread will call PUT function, and the client will throw out
> some rpctimeout exception. It seems that the client will continue retrying
> until the result is not NULL. Is that possible the rpc call already reach
> the server rpc calllqueue, but still have timeout exception? If it is true,
> does that mean the same rpc call will be executed twice?
>
> Thanks a lot for your help.
>
> Best,
>
> Shu
>