hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r909580 - in /hadoop/hbase/branches/0.20: CHANGES.txt src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Date Fri, 12 Feb 2010 19:48:47 GMT
Author: stack
Date: Fri Feb 12 19:48:46 2010
New Revision: 909580

URL: http://svn.apache.org/viewvc?rev=909580&view=rev
Log:
HBASE-2222 Improve log "Trying to contact region server Some server for region , row ip_info_100,,1263329969690,
but failed after 11 attempts.

Modified:
    hadoop/hbase/branches/0.20/CHANGES.txt
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java

Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=909580&r1=909579&r2=909580&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Fri Feb 12 19:48:46 2010
@@ -12,6 +12,9 @@
    HBASE-2189  HCM trashes meta cache even when not needed
    HBASE-2190  HRS should report to master when HMsg are available
    HBASE-2177  Use datestamp timestamping gc logging.
+   HBASE-2222  Improve log "Trying to contact region server Some server for
+               region, row 'ip_info_100,,1263329969690', but failed after
+               11 attempts".
 
   NEW FEATURES
 

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java?rev=909580&r1=909579&r2=909580&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
(original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Fri Feb 12 19:48:46 2010
@@ -44,8 +44,6 @@
 import org.apache.hadoop.hbase.MasterNotRunningException;
 import org.apache.hadoop.hbase.RemoteExceptionHandler;
 import org.apache.hadoop.hbase.TableNotFoundException;
-import org.apache.hadoop.hbase.NotServingRegionException;
-import org.apache.hadoop.hbase.regionserver.WrongRegionException;
 import org.apache.hadoop.hbase.client.MetaScanner.MetaScannerVisitor;
 import org.apache.hadoop.hbase.ipc.HBaseRPC;
 import org.apache.hadoop.hbase.ipc.HBaseRPCProtocolVersion;
@@ -1083,8 +1081,8 @@
     }
 
     private HRegionLocation
-    getRegionLocationForRowWithRetries(byte[] tableName, byte[] rowKey, 
-      boolean reload)
+      getRegionLocationForRowWithRetries(byte[] tableName, byte[] rowKey,
+        boolean reload)
     throws IOException {
       boolean reloadFlag = reload;
       List<Throwable> exceptions = new ArrayList<Throwable>();
@@ -1108,7 +1106,9 @@
         }
       }
       if (location == null) {
-        throw new RetriesExhaustedException("Some server",
+        throw new RetriesExhaustedException(" -- nothing found, no 'location' returned,"
+
+          " tableName=" + Bytes.toString(tableName) +
+          ", reload=" + reload + " --",
           HConstants.EMPTY_BYTE_ARRAY, rowKey, tries, exceptions);
       }
       return location;



Mime
View raw message