HBASE-3666 TestScannerTimeout fails occasionally
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1085123 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b500e86e2d
commit
15cc58f797
|
@ -173,6 +173,7 @@ Release 0.90.2 - Unreleased
|
|||
such as -ROOT- or .META.
|
||||
HBASE-3654 Weird blocking between getOnlineRegion and createRegionLoad
|
||||
(Subbu M Iyer via Stack)
|
||||
HBASE-3666 TestScannerTimeout fails occasionally
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-3542 MultiGet methods in Thrift
|
||||
|
|
|
@ -1906,7 +1906,12 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
|
|||
} catch (IOException e) {
|
||||
// If checkOpen failed, server not running or filesystem gone,
|
||||
// cancel this lease; filesystem is gone or we're closing or something.
|
||||
this.leases.cancelLease(scannerName);
|
||||
try {
|
||||
this.leases.cancelLease(scannerName);
|
||||
} catch (LeaseException le) {
|
||||
LOG.info("Server shutting down and client tried to access missing scanner " +
|
||||
scannerName);
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
this.leases.renewLease(scannerName);
|
||||
|
|
Loading…
Reference in New Issue