hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-507) In master, there are a load of places where no sleep between retries
Date Sun, 23 Mar 2008 22:11:24 GMT

    [ https://issues.apache.org/jira/browse/HBASE-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581442#action_12581442
] 

stack commented on HBASE-507:
-----------------------------

I'm fine if this is not fixed in 0.1.  Doesn't seem critical.

If we do fix it, please lets not do it duplicating code if possilble.  Can we use the Callable
pattern from the Client here too?

> In master, there are a load of places where no sleep between retries
> --------------------------------------------------------------------
>
>                 Key: HBASE-507
>                 URL: https://issues.apache.org/jira/browse/HBASE-507
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>            Reporter: stack
>             Fix For: 0.2.0, 0.1.0
>
>
> Here is an example:
> {code}
>  270308 2008-03-12 14:10:02,054 DEBUG org.apache.hadoop.hbase.HMaster: numberOfMetaRegions:
1, onlineMetaRegions.size(): 1                                                           
                                                                                 
> 270309 2008-03-12 14:10:02,054 DEBUG org.apache.hadoop.hbase.HMaster: process server
shutdown scanning .META.,,1 on XX.XX.XX.184:60020 HMaster                                
                                                                                       
> 270310 2008-03-12 14:10:02,056 DEBUG org.apache.hadoop.hbase.HMaster: process server
shutdown scanning .META.,,1 on XX.XX.XX.184:60020 HMaster                                
                                                                                       
> 270311 2008-03-12 14:10:02,057 DEBUG org.apache.hadoop.hbase.HMaster: process server
shutdown scanning .META.,,1 on XX.XX.XX.184:60020 HMaster                                
                                                                                       
> 270312 2008-03-12 14:10:02,059 DEBUG org.apache.hadoop.hbase.HMaster: process server
shutdown scanning .META.,,1 on XX.XX.XX.184:60020 HMaster
> 270313 2008-03-12 14:10:02,060 DEBUG org.apache.hadoop.hbase.HMaster: process server
shutdown scanning .META.,,1 on XX.XX.XX.184:60020 HMaster
> 270314 2008-03-12 14:10:02,062 WARN org.apache.hadoop.hbase.HMaster: Processing pending
operations: ProcessServerShutdown of XX.XX.XX.180:60020                                  
                                                                                    
> 270315 org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException
.META.,,1                                                                                
                                                                
> 270316         at org.apache.hadoop.hbase.HRegionServer.getRegion(HRegionServer.java:1606)

> ...
> {code}
> Whats actually going on here is 5 retries without a wait in between (logging should include
index numbering retry.  Seems to be a bunch of duplicated code around retrying that we might
be able to fix with a Callable.  Jim Firby today suggested we do expotential backoffs in our
retries. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message