hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cosmin Lehene (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-2161) get rid of scanner timeout
Date Wed, 07 Jan 2015 14:53:35 GMT

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

Cosmin Lehene commented on HBASE-2161:
--------------------------------------

[~ryanobjc], [~apurtell] is this still valid?

> get rid of scanner timeout
> --------------------------
>
>                 Key: HBASE-2161
>                 URL: https://issues.apache.org/jira/browse/HBASE-2161
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ryan rawson
>              Labels: delete
>
> the client side code has this in ClientScanner.next():
>             if (e instanceof UnknownScannerException &&
>                 lastNext + scannerTimeout < System.currentTimeMillis()) {
>               ScannerTimeoutException ex = new ScannerTimeoutException();
>               ex.initCause(e);
>               throw ex;
>             }
> This will cause the client-side to timeout after the 'scannerTimeout'. There doesn't
seem to be any good reason for this - we can just restart the scanner at the last row.  Leave
the server-side scanner as is, but clients should be able to have a 5 day scan that is continuously
being restarted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message