Uses of Class
org.apache.hadoop.hbase.regionserver.HRegionFileSystem
Package
Description
-
Uses of HRegionFileSystem in org.apache.hadoop.hbase.master.assignment
Modifier and TypeFieldDescriptionprivate final HRegionFileSystem
SplitTableRegionProcedure.StoreFileSplitter.regionFs
Modifier and TypeMethodDescriptionprivate List<org.apache.hadoop.fs.Path>
MergeTableRegionsProcedure.mergeStoreFiles
(MasterProcedureEnv env, HRegionFileSystem regionFs, HRegionFileSystem mergeRegionFs, RegionInfo mergedRegion) private Pair<org.apache.hadoop.fs.Path,
org.apache.hadoop.fs.Path> SplitTableRegionProcedure.splitStoreFile
(HRegionFileSystem regionFs, StoreFileTracker tracker, byte[] family, HStoreFile sf) SplitTableRegionProcedure.splitStoreFiles
(MasterProcedureEnv env, HRegionFileSystem regionFs) Create Split directoryModifierConstructorDescriptionStoreFileSplitter
(HRegionFileSystem regionFs, StoreFileTracker tracker, byte[] family, HStoreFile sf) Constructor that takes what it needs to split -
Uses of HRegionFileSystem in org.apache.hadoop.hbase.regionserver
Modifier and TypeClassDescriptionclass
A Wrapper for the region FileSystem operations adding WAL specific operationsModifier and TypeFieldDescriptionprivate final HRegionFileSystem
HRegion.fs
private HRegionFileSystem
StoreContext.Builder.regionFileSystem
private final HRegionFileSystem
StoreContext.regionFileSystem
Modifier and TypeMethodDescriptionstatic HRegionFileSystem
HRegionFileSystem.create
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, RegionInfo regionInfo) static HRegionFileSystem
HRegion.createRegionDir
(org.apache.hadoop.conf.Configuration configuration, RegionInfo ri, org.apache.hadoop.fs.Path rootDir) Create the region directory in the filesystem.static HRegionFileSystem
HRegionFileSystem.createRegionOnFileSystem
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, RegionInfo regionInfo) Create a new Region on file-system.HRegion.getRegionFileSystem()
Returns theHRegionFileSystem
used by this regionHStore.getRegionFileSystem()
StoreContext.getRegionFileSystem()
static HRegionFileSystem
HRegionFileSystem.openRegionFromFileSystem
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, RegionInfo regionInfo, boolean readOnly) Open Region from file-system.Modifier and TypeMethodDescriptionstatic List<org.apache.hadoop.fs.LocatedFileStatus>
HRegionFileSystem.getStoreFilesLocatedStatus
(HRegionFileSystem regionfs, String familyName, boolean validate) Returns the store files' LocatedFileStatus which available for the family.private void
HRegionFileSystem.insertRegionFilesIntoStoreTracker
(List<org.apache.hadoop.fs.Path> allFiles, MasterProcedureEnv env, HRegionFileSystem regionFs) StoreContext.Builder.withRegionFileSystem
(HRegionFileSystem regionFileSystem) ModifierConstructorDescriptionHRegion
(HRegionFileSystem fs, WAL wal, org.apache.hadoop.conf.Configuration confParam, TableDescriptor htd, RegionServerServices rsServices) HRegion constructor. -
Uses of HRegionFileSystem in org.apache.hadoop.hbase.regionserver.storefiletracker
Modifier and TypeMethodDescriptionstatic StoreFileTracker
StoreFileTrackerFactory.create
(org.apache.hadoop.conf.Configuration conf, TableDescriptor td, ColumnFamilyDescriptor cfd, HRegionFileSystem regionFs) Used at master side when splitting/merging regions, as we do not have a Store, thus no StoreContext at master side.static StoreFileTracker
StoreFileTrackerFactory.create
(org.apache.hadoop.conf.Configuration conf, TableDescriptor td, ColumnFamilyDescriptor cfd, HRegionFileSystem regionFs, boolean isPrimaryReplica) -
Uses of HRegionFileSystem in org.apache.hadoop.hbase.snapshot
Modifier and TypeMethodDescriptionSnapshotManifestV1.ManifestBuilder.regionOpen
(RegionInfo regionInfo) Modifier and TypeMethodDescriptionvoid
SnapshotManifestV1.ManifestBuilder.familyClose
(HRegionFileSystem region, org.apache.hadoop.fs.Path family) org.apache.hadoop.fs.Path
SnapshotManifestV1.ManifestBuilder.familyOpen
(HRegionFileSystem snapshotRegionFs, byte[] familyName) static List<StoreFileInfo>
SnapshotManifestV1.getStoreFiles
(StoreFileTracker sft, HRegionFileSystem regionFS, String familyName, boolean validate) void
SnapshotManifestV1.ManifestBuilder.regionClose
(HRegionFileSystem region) void
SnapshotManifestV1.ManifestBuilder.storeFile
(HRegionFileSystem region, org.apache.hadoop.fs.Path familyDir, StoreFileInfo storeFile) -
Uses of HRegionFileSystem in org.apache.hadoop.hbase.util.compaction
Modifier and TypeMethodDescription(package private) HRegionFileSystem
MajorCompactionRequest.getFileSystem()
Modifier and TypeMethodDescriptionprotected boolean
MajorCompactionRequest.familyHasReferenceFile
(HRegionFileSystem fileSystem, String family, long ts) MajorCompactionRequest.getStoreFileTracker
(String family, HRegionFileSystem fileSystem) (package private) boolean
MajorCompactionRequest.shouldCFBeCompacted
(HRegionFileSystem fileSystem, String family, long ts) protected boolean
MajorCompactionRequest.shouldIncludeStore
(HRegionFileSystem fileSystem, String family, Collection<StoreFileInfo> storeFiles, long ts) protected boolean
MajorCompactionTTLRequest.shouldIncludeStore
(HRegionFileSystem fileSystem, String family, Collection<StoreFileInfo> storeFiles, long ts)