use of org.apache.hadoop.hbase.regionserver.StoreContext in project hbase by apache.
the class TestStoreFileListFile method setUp.
@Before
public void setUp() throws IOException {
testDir = UTIL.getDataTestDir(name.getMethodName());
HRegionFileSystem hfs = mock(HRegionFileSystem.class);
when(hfs.getFileSystem()).thenReturn(FileSystem.get(UTIL.getConfiguration()));
StoreContext ctx = StoreContext.getBuilder().withFamilyStoreDirectoryPath(testDir).withRegionFileSystem(hfs).build();
storeFileListFile = new StoreFileListFile(ctx);
}
Aggregations