Grokbase Groups HBase dev June 2008
FAQ
[ https://issues.apache.org/jira/browse/HBASE-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-671.
-------------------------

Resolution: Fixed
Fix Version/s: 0.2.0

Committed below:

{code}
Index: src/java/org/apache/hadoop/hbase/client/HTable.java
===================================================================
--- src/java/org/apache/hadoop/hbase/client/HTable.java (revision 664083)
+++ src/java/org/apache/hadoop/hbase/client/HTable.java (working copy)
@@ -21,10 +21,12 @@

import java.io.IOException;
import java.util.ArrayList;
+import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
+import java.util.TreeMap;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -383,8 +385,8 @@
* @throws IOException
*/
public Map<HRegionInfo, HServerAddress> getRegionsInfo() throws IOException {
- final HashMap<HRegionInfo, HServerAddress> regionMap =
- new HashMap<HRegionInfo, HServerAddress>();
+ final Map<HRegionInfo, HServerAddress> regionMap =
+ new TreeMap<HRegionInfo, HServerAddress>();

MetaScannerVisitor visitor = new MetaScannerVisitor() {
public boolean processRow(@SuppressWarnings("unused") RowResult rowResult,
{code}
New UI page displaying all regions in a table should be sorted
--------------------------------------------------------------

Key: HBASE-671
URL: https://issues.apache.org/jira/browse/HBASE-671
Project: Hadoop HBase
Issue Type: Improvement
Components: build
Reporter: stack
Assignee: stack
Priority: Minor
Fix For: 0.2.0


Sort the regions displayed in the new regions-in-a-table page
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupdev @
categorieshbase, hadoop
postedJun 6, '08 at 10:51p
activeJun 6, '08 at 10:59p
posts3
users1
websitehbase.apache.org

1 user in discussion

stack (JIRA): 3 posts

People

Translate

site design / logo © 2022 Grokbase