File tree Expand file tree Collapse file tree
main/java/org/apache/hadoop/hbase/compactionserver
test/java/org/apache/hadoop/hbase/compactionserver Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020import java .io .IOException ;
2121import java .util .ArrayList ;
22- import java .util .Collections ;
2322import java .util .List ;
2423
2524import org .apache .hadoop .conf .Configuration ;
4241import org .apache .hadoop .hbase .shaded .protobuf .generated .CompactionProtos ;
4342import org .apache .hadoop .hbase .shaded .protobuf .generated .CompactionProtos .CompactResponse ;
4443import org .apache .hadoop .hbase .shaded .protobuf .generated .CompactionProtos .CompactionService ;
45- import org .apache .hadoop .hbase .shaded .protobuf .generated .HBaseProtos ;
4644
4745@ InterfaceAudience .Private
4846public class CSRpcServices extends AbstractRpcServices
Original file line number Diff line number Diff line change 1616 * limitations under the License.
1717 */
1818package org .apache .hadoop .hbase .compactionserver ;
19+
20+ import java .net .InetSocketAddress ;
21+
22+ import org .apache .hadoop .hbase .HBaseClassTestRule ;
23+ import org .apache .hadoop .hbase .HBaseTestingUtility ;
1924import org .apache .hadoop .hbase .StartMiniClusterOption ;
2025import org .apache .hadoop .hbase .client .TableDescriptor ;
2126import org .apache .hadoop .hbase .client .TableDescriptorBuilder ;
2631import org .apache .hadoop .hbase .util .Bytes ;
2732import org .junit .Assume ;
2833import org .junit .BeforeClass ;
34+ import org .junit .ClassRule ;
2935import org .junit .Test ;
3036import org .junit .experimental .categories .Category ;
31- import org .apache .hadoop .hbase .HBaseTestingUtility ;
32-
33- import java .net .InetSocketAddress ;
3437
3538@ Category ({ CompactionServerTests .class , MediumTests .class })
3639public class TestRegionFavoredNodesWhenCompactOffload extends TestRegionFavoredNodes {
3740 private static HCompactionServer COMPACTION_SERVER ;
3841 private static final int FLUSHES = 10 ;
3942
43+ @ ClassRule
44+ public static final HBaseClassTestRule CLASS_RULE =
45+ HBaseClassTestRule .forClass (TestRegionFavoredNodesWhenCompactOffload .class );
46+
4047 @ BeforeClass
4148 public static void setUpBeforeClass () throws Exception {
4249 try {
You can’t perform that action at this time.
0 commit comments