have shell print regioninfo and location on first load if DEBUG enabled
-----------------------------------------------------------------------

                 Key: HBASE-1424
                 URL: https://issues.apache.org/jira/browse/HBASE-1424
             Project: Hadoop HBase
          Issue Type: Improvement
            Reporter: stack
             Fix For: 0.20.0


I think it helps debugging -- you can find quickly which region a row belongs 
to and what .META. thinks about that region:

{code}
Index: src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
===================================================================
--- src/java/org/apache/hadoop/hbase/client/HConnectionManager.java     
(revision 771129)
+++ src/java/org/apache/hadoop/hbase/client/HConnectionManager.java     
(working copy)
@@ -553,6 +553,7 @@
           // instantiate the location
           location = new HRegionLocation(regionInfo,
               new HServerAddress(serverAddress));
+          LOG.debug(location);
           cacheLocation(tableName, location);
           return location;
         } catch (TableNotFoundException e) {
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to