@InterfaceAudience.Private public class HRegionWALFileSystem extends HRegionFileSystem
conf, fs, REGION_INFO_FILE, REGION_MERGES_DIR, REGION_SPLITS_DIR, REGION_TEMP_DIR, regionInfoForFs
Constructor and Description |
---|
HRegionWALFileSystem(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tableDir,
RegionInfo regionInfo) |
Modifier and Type | Method and Description |
---|---|
void |
archiveRecoveredEdits(String familyName,
Collection<HStoreFile> storeFiles)
Closes and archives the specified store files from the specified family.
|
bulkLoadStoreFile, checkRegionInfoOnFilesystem, cleanupAnySplitDetritus, cleanupDaughterRegion, cleanupMergedRegion, cleanupMergesDir, cleanupSplitsDir, cleanupTempDir, commitDaughterRegion, commitMergedRegion, commitStoreFile, commitStoreFile, createDir, createMergesDir, createRegionOnFileSystem, createSplitsDir, createStoreDir, createTempName, createTempName, deleteDir, deleteFamily, deleteRegionFromFileSystem, getFamilies, getFileSystem, getMergesDir, getMergesDir, getRegionDir, getRegionInfo, getRegionInfoForFS, getSplitsDir, getSplitsDir, getStoragePolicyName, getStoreDir, getStoreFileInfo, getStoreFilePath, getStoreFiles, getStoreFiles, getStoreFiles, getStoreFilesLocatedStatus, getTableDir, getTempDir, hasReferences, hasReferences, loadRegionInfoFileContent, logFileSystemState, mergeStoreFile, mkdirs, openRegionFromFileSystem, removeStoreFile, removeStoreFiles, rename, setStoragePolicy, splitStoreFile
HRegionWALFileSystem(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, RegionInfo regionInfo)
public void archiveRecoveredEdits(String familyName, Collection<HStoreFile> storeFiles) throws IOException
familyName
- Family that contains the store filesMetastoreFiles
- set of store files to removeIOException
- if the archiving failsCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.