Modifier and Type | Field and Description |
---|---|
private HRegionFileSystem |
SplitTableRegionProcedure.StoreFileSplitter.regionFs |
Modifier and Type | Method and Description |
---|---|
private 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,
byte[] family,
HStoreFile sf) |
private Pair<List<org.apache.hadoop.fs.Path>,List<org.apache.hadoop.fs.Path>> |
SplitTableRegionProcedure.splitStoreFiles(MasterProcedureEnv env,
HRegionFileSystem regionFs)
Create Split directory
|
Constructor and Description |
---|
StoreFileSplitter(HRegionFileSystem regionFs,
byte[] family,
HStoreFile sf)
Constructor that takes what it needs to split
|
Modifier and Type | Class and Description |
---|---|
class |
HRegionWALFileSystem
A Wrapper for the region FileSystem operations adding WAL specific operations
|
Modifier and Type | Field and Description |
---|---|
private HRegionFileSystem |
HRegion.fs |
private HRegionFileSystem |
StoreContext.regionFileSystem |
private HRegionFileSystem |
StoreContext.Builder.regionFileSystem |
Modifier and Type | Method and Description |
---|---|
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.
|
HRegionFileSystem |
HStore.getRegionFileSystem() |
HRegionFileSystem |
StoreContext.getRegionFileSystem() |
HRegionFileSystem |
HRegion.getRegionFileSystem()
Returns the
HRegionFileSystem used by this region |
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 Type | Method and Description |
---|---|
static 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 |
StoreContext.Builder.withRegionFileSystem(HRegionFileSystem regionFileSystem) |
Constructor and Description |
---|
HRegion(HRegionFileSystem fs,
WAL wal,
org.apache.hadoop.conf.Configuration confParam,
TableDescriptor htd,
RegionServerServices rsServices)
HRegion constructor.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Modifier and Type | Method and Description |
---|---|
HRegionFileSystem |
SnapshotManifestV1.ManifestBuilder.regionOpen(RegionInfo regionInfo) |
Modifier and Type | Method and Description |
---|---|
void |
SnapshotManifestV1.ManifestBuilder.familyClose(HRegionFileSystem region,
org.apache.hadoop.fs.Path family) |
org.apache.hadoop.fs.Path |
SnapshotManifestV1.ManifestBuilder.familyOpen(HRegionFileSystem snapshotRegionFs,
byte[] familyName) |
void |
SnapshotManifestV1.ManifestBuilder.regionClose(HRegionFileSystem region) |
void |
SnapshotManifestV1.ManifestBuilder.storeFile(HRegionFileSystem region,
org.apache.hadoop.fs.Path familyDir,
StoreFileInfo storeFile) |
Modifier and Type | Method and Description |
---|---|
(package private) HRegionFileSystem |
MajorCompactionRequest.getFileSystem() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MajorCompactionRequest.familyHasReferenceFile(HRegionFileSystem fileSystem,
String family,
long ts) |
(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) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.