[
https://issues.apache.org/jira/browse/HBASE-22047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824694#comment-16824694
]
Hudson commented on HBASE-22047:
--------------------------------
Results for branch branch-2.1
[build #1078 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1078/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1078//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1078//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1078//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> LeaseException in Scan should be retired
> ----------------------------------------
>
> Key: HBASE-22047
> URL: https://issues.apache.org/jira/browse/HBASE-22047
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.2.0, 2.0.4, 2.1.3
> Reporter: Allan Yang
> Assignee: Igor Rudenko
> Priority: Major
> Fix For: 3.0.0, 2.3.0, 2.1.5, 2.2.1
>
>
> We should retry LeaseException just like other exceptions like
> OutOfOrderScannerNextException and UnknownScannerException
> Code in ClientScanner:
> {code:java}
> if ((cause != null && cause instanceof NotServingRegionException) ||
> (cause != null && cause instanceof RegionServerStoppedException) ||
> e instanceof OutOfOrderScannerNextException || e instanceof
> UnknownScannerException ||
> e instanceof ScannerResetException) {
> // Pass. It is easier writing the if loop test as list of what is
> allowed rather than
> // as a list of what is not allowed... so if in here, it means we do
> not throw.
> if (retriesLeft <= 0) {
> throw e; // no more retries
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)