hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bieniosek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-81) [hbase] When a scanner lease times out, throw a more "user friendly" exception
Date Thu, 14 Feb 2008 21:29:07 GMT

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

Michael Bieniosek commented on HBASE-81:
----------------------------------------

+1

> [hbase] When a scanner lease times out, throw a more "user friendly" exception
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-81
>                 URL: https://issues.apache.org/jira/browse/HBASE-81
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client, regionserver
>            Reporter: Jim Kellerman
>            Priority: Trivial
>
> Currently, if a client spends too much time between next() requests on a scanner (or
between scanner creation and the first call to next), the region server will time out the
scanner and close. The next call to next() will receive an UnknownScannerException because
all knowledge of the scanner was wiped out on the server when the lease expired.
> The the client side scanner should keep a timer so it compute the elapsed time between
next() calls so that if it receives an UnknownScannerException, it can determine if the scanner
lease timed out and if so, throw a more "user friendly" exception such as LeaseTimedOutException

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