[
https://issues.apache.org/jira/browse/OMID-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490962#comment-16490962
]
James Taylor commented on OMID-100:
-----------------------------------
Here's a patch, [~ohads] that I think will prevent this endless retries. I'll
rerun the Phoenix test suite with this in place.
> Throw non retriable exceptions from coprocessor and scanner implementors
> ------------------------------------------------------------------------
>
> Key: OMID-100
> URL: https://issues.apache.org/jira/browse/OMID-100
> Project: Apache Omid
> Issue Type: Bug
> Reporter: James Taylor
> Priority: Major
> Attachments: OMID-100.patch
>
>
> HBase will retry 300+ times if an exception occurs on the server-side. To
> prevent this, implementors need to wrap any exceptions that occur with a
> DoNotRetryIOException
> This should be done for OmidSnapshotFilter, OmidCompactor, and
> OmidRegionScanner methods that implement HBase methods. For examples in
> Phoenix, see:
> * BaseScannerRegionObserver.postScannerOpen()
> * NonAggregateRegionScannerFactory.getTopNScanner() anonymous
> BaseRegionScanner implementation
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)