@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, cleanupDaughterRegion, cleanupMergedRegion, cleanupTempDir, commitDaughterRegion, commitMergedRegion, commitStoreFile, commitStoreFile, createDir, createRegionOnFileSystem, createSplitsDir, createStoreDir, createTempName, createTempName, deleteDir, deleteFamily, deleteRegionFromFileSystem, getFamilies, getFileSystem, getMergesDir, getRegionDir, getRegionInfo, getRegionInfoForFS, getSplitsDir, getStoragePolicyName, getStoreDir, getStoreFileInfo, getStoreFilePath, getStoreFiles, getStoreFiles, getStoreFilesLocatedStatus, getStoreHomedir, getStoreHomedir, getTableDir, getTempDir, hasReferences, hasReferences, loadRegionInfoFileContent, mergeStoreFile, mkdirs, openRegionFromFileSystem, removeStoreFile, removeStoreFiles, rename, setStoragePolicy, 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.