hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1156379 - in /hbase/branches/0.90: CHANGES.txt src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
Date Wed, 10 Aug 2011 21:47:06 GMT
Author: stack
Date: Wed Aug 10 21:47:06 2011
New Revision: 1156379

URL: http://svn.apache.org/viewvc?rev=1156379&view=rev
Log:
HBASE-4168 A client continues to try and connect to a powered down regionserver

Modified:
    hbase/branches/0.90/CHANGES.txt
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java

Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1156379&r1=1156378&r2=1156379&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Wed Aug 10 21:47:06 2011
@@ -3,8 +3,10 @@ Release 0.90.5 - Unreleased
   BUG FIXES
    HBASE-4160  HBase shell move and online may be unusable if region name 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
    HBASE-3617  NoRouteToHostException during balancing will cause Master abort
                (Ted Yu)

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java?rev=1156379&r1=1156378&r2=1156379&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
(original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
Wed Aug 10 21:47:06 2011
@@ -428,11 +428,7 @@ public class CatalogTracker {
       t = e;
     } catch (RemoteException e) {
       IOException ioe = e.unwrapRemoteException();
-      if (ioe instanceof NotServingRegionException) {
-        t = ioe;
-      } else {
-        throw e;
-      }
+      t = ioe;
     } catch (IOException e) {
       Throwable cause = e.getCause();
       if (cause != null && cause instanceof EOFException) {
@@ -441,7 +437,7 @@ public class CatalogTracker {
           && cause.getMessage().contains("Connection reset")) {
         t = cause;
       } else {
-        throw e;
+        t = e;
       }
     }
     LOG.info("Failed verification of " + Bytes.toStringBinary(regionName) +



Mime
View raw message