(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
This commit is contained in:
Michael Stack 2011-03-24 21:25:46 +00:00
parent ee969a8d83
commit 39bb359b53
1 changed files with 0 additions and 9 deletions

View File

@ -2626,15 +2626,6 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
}
}
public HRegionInfo[] getRegionsAssignment() throws IOException {
HRegionInfo [] regions = new HRegionInfo[getNumberOfOnlineRegions()];
Iterator<HRegion> ite = onlineRegions.values().iterator();
for (int i = 0; ite.hasNext(); i++) {
regions[i] = ite.next().getRegionInfo();
}
return regions;
}
/** {@inheritDoc} */
@Override
@QosPriority(priority=HIGH_QOS)