hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16266) Do not throw ScannerTimeoutException when catch UnknownScannerException
Date Fri, 22 Jul 2016 13:00:23 GMT

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

stack commented on HBASE-16266:
-------------------------------

Patch looks nice [~yangzhe1991]

What is an example scenario that makes the below?

bq. The time blocked on ResultScanner.next() may much longer than scanner timeout. 

Thanks (could put it in release note -- this look likes a nice fix)

> Do not throw ScannerTimeoutException when catch UnknownScannerException
> -----------------------------------------------------------------------
>
>                 Key: HBASE-16266
>                 URL: https://issues.apache.org/jira/browse/HBASE-16266
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client, Scanners
>    Affects Versions: 1.1.5, 1.2.2
>            Reporter: Phil Yang
>            Assignee: Phil Yang
>         Attachments: HBASE-16266-v1.patch, HBASE-16266-v2.patch, HBASE-16266-v3.patch
>
>
> Now in scanner we have heartbeat to prevent timeout. The time blocked on ResultScanner.next()
may much longer than scanner timeout. So it is no need any more to throw  ScannerTimeoutException
when server throws UnknownScannerException, we can just reset the scanner like NotServingRegionException



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

Mime
View raw message