hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3402) Web UI shows two META regions
Date Wed, 05 Jan 2011 00:44:45 GMT

    [ https://issues.apache.org/jira/browse/HBASE-3402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977556#action_12977556
] 

stack commented on HBASE-3402:
------------------------------

This looks like a dumb one:

{code}
diff --git a/src/main/resources/hbase-webapps/master/table.jsp b/src/main/resources/hbase-webapps/master/table.jsp
index b433e20..f312004 100644
--- a/src/main/resources/hbase-webapps/master/table.jsp
+++ b/src/main/resources/hbase-webapps/master/table.jsp
@@ -100,7 +100,7 @@
   // NOTE: Presumes one meta region only.
   HRegionInfo meta = HRegionInfo.FIRST_META_REGIONINFO;
   HServerAddress metaLocation = master.getCatalogTracker().getMetaLocation();
-  for (int i = 0; i <= 1; i++) {
+  for (int i = 0; i < 1; i++) {
     int infoPort = master.getServerManager().getHServerInfo(metaLocation).getInfoPort();
     String url = "http://" + metaLocation.getHostname() + ":" + infoPort + "/";
 %>
{code}

I'll just commit.

> Web UI shows two META regions
> -----------------------------
>
>                 Key: HBASE-3402
>                 URL: https://issues.apache.org/jira/browse/HBASE-3402
>             Project: HBase
>          Issue Type: Bug
>          Components: master, regionserver
>    Affects Versions: 0.90.0
>            Reporter: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.90.0
>
>         Attachments: two-metas.png
>
>
> Running 0.90@r1052112 I see two regions for META on the same server. Both have start
key '-' and end key '-'.
> Things seem to work OK, but it's very strange.

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