/** * Scans hbase:meta and returns a number of scanned rows, and a map of merged * regions, and an ordered map of split parents. * @return triple of scanned rows, map of merged regions and map of split * parent regioninfos * @throws IOException */ Triple<Integer, Map<RegionInfo, Result>, Map<RegionInfo, Result>> getMergedRegionsAndSplitParents() throws IOException { return getMergedRegionsAndSplitParents(null); }
CatalogJanitor spy = spy(this.janitor); doReturn(new Triple<>(10, mergedRegions, splitParents)).when(spy). getMergedRegionsAndSplitParents();
/** * Scans hbase:meta and returns a number of scanned rows, and a map of merged * regions, and an ordered map of split parents. * @return triple of scanned rows, map of merged regions and map of split * parent regioninfos * @throws IOException */ Triple<Integer, Map<HRegionInfo, Result>, Map<HRegionInfo, Result>> getMergedRegionsAndSplitParents() throws IOException { return getMergedRegionsAndSplitParents(null); }
getMergedRegionsAndSplitParents(); int count = scanTriple.getFirst();
CatalogJanitor spy = spy(this.janitor); doReturn(new Triple<>(10, mergedRegions, splitParents)).when(spy). getMergedRegionsAndSplitParents();