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

stack commented on HBASE-2190:
------------------------------

@Kannan In the "commit message" above -- 11/Feb/10 12:15 AM -- I say this: 

"Moved housekeeping AFTER pause since when before, its addition of
  "processing open" would make it so we didn't sleep and we were
  flooding the master with "processing open" messages (this new mechanism
  is on a hair-trigger)."

What was happening was if opening a region, in housekeeping, we'd add a 
opening-region message to the BlockingQueue -- MSG_REPORT_OPENING_REGION (sor 
something like that) -- which in this new hair-trigger setup would immediately 
trip a send of the message to the master.... and keep sending messages to the 
master until the region successfully opened.  We'd never sleep (block on the 
queue).

I moved the housekeeping till after we got something from the blockingqueue.  
If the region has opened in the meantime, we'll not bother sending 
MSG_REPORT_OPENING_REGION.  If it hasn't opened, it'll be added and get sent on 
the next report to master.

I hope that helps.

> HRS should report to master when HMsg are available
> ---------------------------------------------------
>
>                 Key: HBASE-2190
>                 URL: https://issues.apache.org/jira/browse/HBASE-2190
>             Project: Hadoop HBase
>          Issue Type: Improvement
>    Affects Versions: 0.20.3
>            Reporter: Jean-Daniel Cryans
>            Assignee: stack
>             Fix For: 0.20.4, 0.21.0
>
>         Attachments: 2190-v2.patch, 2190-v3.patch, 2190-v3.patch, 
> HBASE-2190.patch
>
>
> It still takes a lot of time for the client to see splits or just regions 
> that move around, with default PE it takes around 4 seconds and creating a 
> table takes a bit more than 2 seconds. I remember having the discussion with 
> Stack that HRS.run was not suppose to sleep if any message to send. 
> Turns out it does sleep.

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

Reply via email to