Class HRegionWALFileSystem
java.lang.Object
org.apache.hadoop.hbase.regionserver.HRegionFileSystem
org.apache.hadoop.hbase.regionserver.HRegionWALFileSystem
A Wrapper for the region FileSystem operations adding WAL specific operations
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.HRegionFileSystem
conf, fs, REGION_INFO_FILE, REGION_MERGES_DIR, REGION_SPLITS_DIR, REGION_TEMP_DIR, regionInfoForFs
-
Constructor Summary
ConstructorDescriptionHRegionWALFileSystem
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, RegionInfo regionInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
archiveRecoveredEdits
(String familyName, Collection<HStoreFile> storeFiles) Closes and archives the specified store files from the specified family.Methods inherited from class org.apache.hadoop.hbase.regionserver.HRegionFileSystem
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
-
Constructor Details
-
HRegionWALFileSystem
HRegionWALFileSystem(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, RegionInfo regionInfo)
-
-
Method Details
-
archiveRecoveredEdits
public void archiveRecoveredEdits(String familyName, Collection<HStoreFile> storeFiles) throws IOException Closes and archives the specified store files from the specified family.- Parameters:
familyName
- Family that contains the store filesMetastoreFiles
- set of store files to remove- Throws:
IOException
- if the archiving fails
-