RE: How to make the client fast fail

2015-06-24 Thread Hariharan_Sethuraman
with response. So we scored out the timer option. Thanks, Hari -Original Message- From: Michael Segel [mailto:michael_se...@hotmail.com] Sent: Thursday, June 11, 2015 5:17 AM To: user@hbase.apache.org Subject: Re: How to make the client fast fail threads? So that regardless of your hadoop

Re: How to make the client fast fail

2015-06-23 Thread mukund murrali
: mukund murrali mukundmurra...@gmail.com To: user@hbase.apache.org Sent: Sunday, June 14, 2015 10:22 PM Subject: Re: How to make the client fast fail It would be great if there is a single timeout configuration from the client end. All other parameters should fine tune based on that one

Re: How to make the client fast fail

2015-06-22 Thread Michael Segel
, especially when the timeout is configurable in the first place. -- Lars From: mukund murrali mukundmurra...@gmail.com To: user@hbase.apache.org Sent: Sunday, June 14, 2015 10:22 PM Subject: Re: How to make the client fast fail It would be great if there is a single timeout

Re: How to make the client fast fail

2015-06-16 Thread Michael Segel
Be careful for what you wish. You want to fail fast, ok, but when you shorten the HBase timers, you can run in to other problems. The simplest solution is to use a timer / timeout thread in your application. You want to do it this way because you are asking for an application specific

Re: How to make the client fast fail

2015-06-16 Thread Michael Segel
in the first place. -- Lars From: mukund murrali mukundmurra...@gmail.com To: user@hbase.apache.org Sent: Sunday, June 14, 2015 10:22 PM Subject: Re: How to make the client fast fail It would be great if there is a single timeout configuration from the client end. All other

Re: How to make the client fast fail

2015-06-16 Thread lars hofhansl
further discussions there. Thanks for pointing this issue out. -- Lars       From: mukund murrali mukundmurra...@gmail.com To: user@hbase.apache.org; lars hofhansl la...@apache.org Sent: Tuesday, June 16, 2015 12:21 AM Subject: Re: How to make the client fast fail   We are using HBase - 1.0.0. Yes

Re: How to make the client fast fail

2015-06-16 Thread lars hofhansl
there. Thanks for pointing this issue out. -- Lars From: mukund murrali mukundmurra...@gmail.com To: user@hbase.apache.org; lars hofhansl la...@apache.org Sent: Tuesday, June 16, 2015 12:21 AM Subject: Re: How to make the client fast fail We are using HBase - 1.0.0. Yes we have went through

Re: How to make the client fast fail

2015-06-16 Thread Bryan Beaudreault
of another thread is a bad idea, especially when the timeout is configurable in the first place. -- Lars From: mukund murrali mukundmurra...@gmail.com To: user@hbase.apache.org Sent: Sunday, June 14, 2015 10:22 PM Subject: Re: How to make the client fast fail It would be great

Re: How to make the client fast fail

2015-06-16 Thread lars hofhansl
is a bad idea, especially when the timeout is configurable in the first place. -- Lars From: mukund murrali mukundmurra...@gmail.com To: user@hbase.apache.org Sent: Sunday, June 14, 2015 10:22 PM Subject: Re: How to make the client fast fail It would be great if there is a single timeout

Re: How to make the client fast fail

2015-06-16 Thread mukund murrali
: Sunday, June 14, 2015 10:22 PM Subject: Re: How to make the client fast fail It would be great if there is a single timeout configuration from the client end. All other parameters should fine tune based on that one parameter. We have modified simple based on trail basis to suit our need. Also

RE: How to make the client fast fail

2015-06-16 Thread Hariharan_Sethuraman
In addition to 1.0.0, also suggest for 0.94.15. Thanks, Hari -Original Message- From: mukund murrali [mailto:mukundmurra...@gmail.com] Sent: Tuesday, June 16, 2015 12:52 PM To: user@hbase.apache.org; lars hofhansl Subject: Re: How to make the client fast fail We are using HBase - 1.0.0

Re: How to make the client fast fail

2015-06-14 Thread PRANEESH KUMAR
Hi Michael, We can have a monitoring thread and interrupt the hbase client thread after time out instead of doing this I want the timeout or some exception to be thrown from the HBase client itself. On Thu, Jun 11, 2015 at 5:16 AM, Michael Segel michael_se...@hotmail.com wrote: threads? So

RE: How to make the client fast fail

2015-06-14 Thread Hariharan_Sethuraman
...@gmail.com] Sent: Monday, June 15, 2015 10:33 AM To: user@hbase.apache.org Subject: Re: How to make the client fast fail Hi Michael, We can have a monitoring thread and interrupt the hbase client thread after time out instead of doing this I want the timeout or some exception to be thrown from the HBase

Re: How to make the client fast fail

2015-06-14 Thread mukund murrali
Message- From: PRANEESH KUMAR [mailto:praneesh.san...@gmail.com] Sent: Monday, June 15, 2015 10:33 AM To: user@hbase.apache.org Subject: Re: How to make the client fast fail Hi Michael, We can have a monitoring thread and interrupt the hbase client thread after time out instead of doing

Re: How to make the client fast fail

2015-06-10 Thread Michael Segel
threads? So that regardless of your hadoop settings, if you want something faster, you can use one thread for a timer and then the request is in another. So if you hit your timeout before you get a response, you can stop your thread. (YMMV depending on side effects… ) On Jun 10, 2015, at

How to make the client fast fail

2015-06-09 Thread PRANEESH KUMAR
Hi, I have got the Connection object with default configuration, if the zookeeper or HMaster or Region server is down, the client didn't fast fail and it took almost 20 mins to thrown an error. What is the best configuration to make the client fast fail. Also what is significance of changing