hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1609) [part of hbase-1583] We wait on leases to expire before regionserver goes down. Rather, just let client fail
Date Fri, 03 Jul 2009 18:05:47 GMT

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

Jean-Daniel Cryans commented on HBASE-1609:
-------------------------------------------

I might also add that even if a client is still doing it's stuff with a lease opened, some
other regions will already be down so you get an inconsistent view of the state of the cluster.
Let's have a contract here: if the cluster goes down, don't try anything fancy. 

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


Mime
View raw message