You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/05/14 18:22:45 UTC
[jira] Created: (HBASE-1424) have shell print regioninfo and
location on first load if DEBUG enabled
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.
[jira] Resolved: (HBASE-1424) have shell print regioninfo and
location on first load if DEBUG enabled
Posted by "stack (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HBASE-1424) have shell print regioninfo and
location on first load if DEBUG enabled
Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans updated HBASE-1424:
--------------------------------------
Fix Version/s: 0.19.3
Assignee: stack
> 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
> Assignee: stack
> Fix For: 0.20.0, 0.19.3
>
>
> 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.