You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/01/10 02:55:35 UTC

[jira] [Resolved] (HBASE-2161) get rid of scanner timeout

     [ https://issues.apache.org/jira/browse/HBASE-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-2161.
-----------------------------------
    Resolution: Invalid

Ok then

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