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

stack commented on HBASE-17095:
-------------------------------

+1 after removing the try/catch in teardown --i.e.  [~ted_yu]'s comment above.

> The ClientSimpleScanner keeps retrying if the hfile is corrupt or cannot found
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-17095
>                 URL: https://issues.apache.org/jira/browse/HBASE-17095
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver, scan
>            Reporter: Jingcheng Du
>            Assignee: Jingcheng Du
>         Attachments: HBASE-17095.patch, TestScannerWithCorruptHFile.java
>
>
> In {{RsRPCServices.scan}}, most of IOE are thrown as a 
> {{ScannerResetException}}, even when the hfile is corrupt or it cannot be 
> found. The {{ClientScannr.loadCache}} will keep retrying when the exception 
> is {{ScannerResetException}}. We could throw CorruptHFileException and 
> FileNotFoundException directly from server and don't retry the scan in the 
> client.



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

Reply via email to