HBASE-4168 A client continues to try and connect to a powered down regionserver

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1156378 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-08-10 21:45:56 +00:00
parent 4f253b37c2
commit 03019ced6a
2 changed files with 5 additions and 8 deletions

View File

@ -200,7 +200,6 @@ Release 0.91.0 - Unreleased
HBASE-4184 CatalogJanitor doesn't work properly when "fs.default.name" isn't HBASE-4184 CatalogJanitor doesn't work properly when "fs.default.name" isn't
set in config file (Ming Ma) set in config file (Ming Ma)
IMPROVEMENTS IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack) HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
HBASE-3292 Expose block cache hit/miss/evict counts into region server HBASE-3292 Expose block cache hit/miss/evict counts into region server
@ -428,8 +427,10 @@ Release 0.90.5 - Unreleased
BUG FIXES BUG FIXES
HBASE-4160 HBase shell move and online may be unusable if region name HBASE-4160 HBase shell move and online may be unusable if region name
or server includes binary-encoded data (Jonathan Hsieh) or server includes binary-encoded data (Jonathan Hsieh)
HBASE-4168 A client continues to try and connect to a powered down
regionserver (Anirudh Todi)
Release 0.90.4 - Unreleased Release 0.90.4 - August 10, 2011
BUG FIXES BUG FIXES
HBASE-3878 Hbase client throws NoSuchElementException (Ted Yu) HBASE-3878 Hbase client throws NoSuchElementException (Ted Yu)

View File

@ -457,11 +457,7 @@ public class CatalogTracker {
t = e; t = e;
} catch (RemoteException e) { } catch (RemoteException e) {
IOException ioe = e.unwrapRemoteException(); IOException ioe = e.unwrapRemoteException();
if (ioe instanceof NotServingRegionException) { t = ioe;
t = ioe;
} else {
throw e;
}
} catch (IOException e) { } catch (IOException e) {
Throwable cause = e.getCause(); Throwable cause = e.getCause();
if (cause != null && cause instanceof EOFException) { if (cause != null && cause instanceof EOFException) {
@ -470,7 +466,7 @@ public class CatalogTracker {
&& cause.getMessage().contains("Connection reset")) { && cause.getMessage().contains("Connection reset")) {
t = cause; t = cause;
} else { } else {
throw e; t = e;
} }
} }
LOG.info("Failed verification of " + Bytes.toStringBinary(regionName) + LOG.info("Failed verification of " + Bytes.toStringBinary(regionName) +