hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1424) have shell print regioninfo and location on first load if DEBUG enabled
Date Thu, 14 May 2009 18:46:45 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack resolved HBASE-1424.
--------------------------

    Resolution: Fixed

Commited to branch and trunk.  We can back it out if fellas find it annoying.

> 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.


Mime
View raw message