You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by y_...@tsmc.com on 2010/03/05 07:32:18 UTC

RetriesExhaustedException

Hi,
In order to prevent from visiting META too often.
I keep the HTable for a while.
Hbase client won't try to get the lastest META while it can't
reach the data, only retry 10 times, right?
Region information may change.
So if we keep the META infomation too long, such exception
will happen very often. Is it correct?


Fri Mar 05 13:44:00 CST 2010
org.apache.hadoop.hbase.client.RetriesExhaustedException:
Trying to contact region server 10.81.47.42:60020
for region table1,,1264592014593, row 'HK.001', but failed after 10
attempts.
Exceptions:
java.nio.channels.ClosedByInterruptException
java.nio.channels.ClosedByInterruptException
java.nio.channels.ClosedByInterruptException
java.nio.channels.ClosedByInterruptException
java.nio.channels.ClosedByInterruptException
java.nio.channels.ClosedByInterruptException
java.nio.channels.ClosedByInterruptException
java.nio.channels.ClosedByInterruptException
java.nio.channels.ClosedByInterruptException
java.nio.channels.ClosedByInterruptException




Fleming Chiu(邱宏明)
707-6128
y_823910@tsmc.com
週一無肉日吃素救地球(Meat Free Monday Taiwan)


 --------------------------------------------------------------------------- 
                                                         TSMC PROPERTY       
 This email communication (and any attachments) is proprietary information   
 for the sole use of its                                                     
 intended recipient. Any unauthorized review, use or distribution by anyone  
 other than the intended                                                     
 recipient is strictly prohibited.  If you are not the intended recipient,   
 please notify the sender by                                                 
 replying to this email, and then delete this email and any copies of it     
 immediately. Thank you.                                                     
 --------------------------------------------------------------------------- 




Re: RetriesExhaustedException

Posted by Jean-Daniel Cryans <jd...@apache.org>.
It will, if the region server tells the client that the region moved
or was split, it throws a NotServingRegionException which the client
understands and then asks the .META. region for the new location. So
in each retry it does 2 round trips. Please read
http://wiki.apache.org/hadoop/Hbase/HbaseArchitecture#client

I'm not sure where this ClosedByInterruptException is coming from...
It's not something I've seen before in our client.

J-D

2010/3/4  <y_...@tsmc.com>:
> Hi,
> In order to prevent from visiting META too often.
> I keep the HTable for a while.
> Hbase client won't try to get the lastest META while it can't
> reach the data, only retry 10 times, right?
> Region information may change.
> So if we keep the META infomation too long, such exception
> will happen very often. Is it correct?
>
>
> Fri Mar 05 13:44:00 CST 2010
> org.apache.hadoop.hbase.client.RetriesExhaustedException:
> Trying to contact region server 10.81.47.42:60020
> for region table1,,1264592014593, row 'HK.001', but failed after 10
> attempts.
> Exceptions:
> java.nio.channels.ClosedByInterruptException
> java.nio.channels.ClosedByInterruptException
> java.nio.channels.ClosedByInterruptException
> java.nio.channels.ClosedByInterruptException
> java.nio.channels.ClosedByInterruptException
> java.nio.channels.ClosedByInterruptException
> java.nio.channels.ClosedByInterruptException
> java.nio.channels.ClosedByInterruptException
> java.nio.channels.ClosedByInterruptException
> java.nio.channels.ClosedByInterruptException
>
>
>
>
> Fleming Chiu(邱宏明)
> 707-6128
> y_823910@tsmc.com
> 週一無肉日吃素救地球(Meat Free Monday Taiwan)
>
>
>  ---------------------------------------------------------------------------
>                                                         TSMC PROPERTY
>  This email communication (and any attachments) is proprietary information
>  for the sole use of its
>  intended recipient. Any unauthorized review, use or distribution by anyone
>  other than the intended
>  recipient is strictly prohibited.  If you are not the intended recipient,
>  please notify the sender by
>  replying to this email, and then delete this email and any copies of it
>  immediately. Thank you.
>  ---------------------------------------------------------------------------
>
>
>
>