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)