From 39bb359b5332f0f75ffb761fc4b50845c2c0e5d1 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 24 Mar 2011 21:25:46 +0000 Subject: [PATCH] (HBASE-3654) Weird blocking between getOnlineRegion and createRegionLoad -- cleanup of unused method found by Ted Yu review git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1085151 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/hadoop/hbase/regionserver/HRegionServer.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java b/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java index 2144fb2b37c..24c276baff6 100644 --- a/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java +++ b/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java @@ -2626,15 +2626,6 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler, } } - public HRegionInfo[] getRegionsAssignment() throws IOException { - HRegionInfo [] regions = new HRegionInfo[getNumberOfOnlineRegions()]; - Iterator ite = onlineRegions.values().iterator(); - for (int i = 0; ite.hasNext(); i++) { - regions[i] = ite.next().getRegionInfo(); - } - return regions; - } - /** {@inheritDoc} */ @Override @QosPriority(priority=HIGH_QOS)