Class SplitTableRegionProcedure.StoreFileSplitter
java.lang.Object
org.apache.hadoop.hbase.master.assignment.SplitTableRegionProcedure.StoreFileSplitter
- Enclosing class:
- SplitTableRegionProcedure
private class SplitTableRegionProcedure.StoreFileSplitter
extends Object
implements Callable<Pair<org.apache.hadoop.fs.Path,org.apache.hadoop.fs.Path>>
Utility class used to do the file splitting / reference writing in parallel instead of
sequentially.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final byte[]
private final HRegionFileSystem
private final HStoreFile
private final StoreFileTracker
-
Constructor Summary
ConstructorDescriptionStoreFileSplitter
(HRegionFileSystem regionFs, StoreFileTracker tracker, byte[] family, HStoreFile sf) Constructor that takes what it needs to split -
Method Summary
-
Field Details
-
regionFs
-
family
-
sf
-
tracker
-
-
Constructor Details
-
StoreFileSplitter
public StoreFileSplitter(HRegionFileSystem regionFs, StoreFileTracker tracker, byte[] family, HStoreFile sf) Constructor that takes what it needs to split- Parameters:
regionFs
- the file systemfamily
- Family that contains the store filesf
- which file
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<Pair<org.apache.hadoop.fs.Path,
org.apache.hadoop.fs.Path>> - Throws:
IOException
-