You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2009/08/07 22:41:47 UTC

svn commit: r802176 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java

Author: stack
Date: Fri Aug  7 20:41:47 2009
New Revision: 802176

URL: http://svn.apache.org/viewvc?rev=802176&view=rev
Log:
Made message on empty or null regioninfo richer

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java?rev=802176&r1=802175&r2=802176&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java Fri Aug  7 20:41:47 2009
@@ -573,12 +573,11 @@
           if (regionInfoRow == null) {
             throw new TableNotFoundException(Bytes.toString(tableName));
           }
-
           byte [] value = regionInfoRow.getValue(CATALOG_FAMILY, 
               REGIONINFO_QUALIFIER);
           if (value == null || value.length == 0) {
             throw new IOException("HRegionInfo was null or empty in " + 
-              Bytes.toString(parentTable));
+              Bytes.toString(parentTable) + ", " + regionInfoRow);
           }
           // convert the row result into the HRegionLocation we need!
           HRegionInfo regionInfo = (HRegionInfo) Writables.getWritable(