File tree Expand file tree Collapse file tree
hbase-server/src/test/java/org/apache/hadoop/hbase/tool Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545import org .apache .hadoop .hbase .HBaseConfiguration ;
4646import org .apache .hadoop .hbase .HBaseTestingUtility ;
4747import org .apache .hadoop .hbase .HConstants ;
48+ import org .apache .hadoop .hbase .HRegionInfo ;
4849import org .apache .hadoop .hbase .ServerName ;
4950import org .apache .hadoop .hbase .TableName ;
5051import org .apache .hadoop .hbase .client .ColumnFamilyDescriptor ;
@@ -150,7 +151,7 @@ public void testCanaryStopsScanningAfterTimeout() throws Exception {
150151 assertTrue ("verify table has multiple regions" , regions .size () > 1 );
151152 HRegionServer regionserver = testingUtility .getMiniHBaseCluster ().getRegionServer (0 );
152153 for (RegionInfo region : regions ) {
153- closeRegion (testingUtility , regionserver , region );
154+ closeRegion (testingUtility , regionserver , new HRegionInfo ( region ) );
154155 }
155156
156157 // Run CanaryTool with 1 thread. This thread will attempt to scan the first region.
You can’t perform that action at this time.
0 commit comments