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 ColumnFamilyDescriptor
private final TableDescriptor
private final HRegionFileSystem
private final HStoreFile
-
Constructor Summary
ConstructorDescriptionStoreFileSplitter
(HRegionFileSystem regionFs, TableDescriptor htd, ColumnFamilyDescriptor hcd, HStoreFile sf) Constructor that takes what it needs to split -
Method Summary
-
Field Details
-
regionFs
-
hcd
-
sf
-
htd
-
-
Constructor Details
-
StoreFileSplitter
public StoreFileSplitter(HRegionFileSystem regionFs, TableDescriptor htd, ColumnFamilyDescriptor hcd, HStoreFile sf) Constructor that takes what it needs to split- Parameters:
regionFs
- the file systemhcd
- 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
-