(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:
parent
ee969a8d83
commit
39bb359b53
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue