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

ryan rawson commented on HBASE-1609:
------------------------------------

We should shut down a regionserver (when asked via sigkill or whatever) by 
first waiting for existing clients to finish their current operation, then 
refusing new connections, then shutting down.  By shutting down faster we can 
reassign regions faster during a rolling restart or other partial shutdown 
scenario.

> [part of hbase-1583] We wait on leases to expire before regionserver goes 
> down.  Rather, just let client fail
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1609
>                 URL: https://issues.apache.org/jira/browse/HBASE-1609
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: stack
>             Fix For: 0.20.0
>
>         Attachments: 1609.patch
>
>
> Addressing this issue will help hbase-1583.  We should do for 0.20.0 and 
> perhaps for 0.19.x even.
> Currently, if outstanding leases, in HRegion close, we'll hang until lease 
> expires.  Could be a minute.  Could be worse, the client might come in and 
> renew the lease a few times at least till it finishes out the region.  This 
> gets in way of regionserver shutting down fast.  
> J-D suggests that regionserver should just go down and outstanding clients 
> should fail rather than try and be nice to outstanding clients (in his case, 
> his MR job had failed so no clients... but we insist on lease expiring).

-- 
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