File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 33
33
import org .apache .hadoop .hbase .procedure2 .Procedure ;
34
34
import org .apache .hadoop .hbase .procedure2 .ProcedureExecutor ;
35
35
import org .apache .hadoop .hbase .procedure2 .ProcedureTestingUtility ;
36
+ import org .apache .hadoop .hbase .regionserver .storefiletracker .StoreFileTrackerFactory ;
36
37
import org .apache .hadoop .hbase .snapshot .SnapshotTestingUtils ;
37
38
import org .apache .hadoop .hbase .testclassification .MasterTests ;
38
39
import org .apache .hadoop .hbase .testclassification .MediumTests ;
@@ -95,8 +96,11 @@ private int getNumReplicas() {
95
96
return 1 ;
96
97
}
97
98
98
- public static TableDescriptor createTableDescriptor (TableName tableName , byte []... family ) {
99
- TableDescriptorBuilder builder = TableDescriptorBuilder .newBuilder (tableName );
99
+ private static TableDescriptor createTableDescriptor (TableName tableName , byte []... family ) {
100
+ TableDescriptorBuilder builder =
101
+ TableDescriptorBuilder .newBuilder (tableName ).setValue (StoreFileTrackerFactory .TRACKER_IMPL ,
102
+ UTIL .getConfiguration ().get (StoreFileTrackerFactory .TRACKER_IMPL ,
103
+ StoreFileTrackerFactory .Trackers .DEFAULT .name ()));
100
104
Stream .of (family ).map (ColumnFamilyDescriptorBuilder ::of )
101
105
.forEachOrdered (builder ::setColumnFamily );
102
106
return builder .build ();
You can’t perform that action at this time.
0 commit comments