HBASE-12583 Allow creating reference files even the split row not lies in the storefile range if required - Addendum(Rajeshbabu)

This commit is contained in:
Rajeshbabu Chintaguntla 2014-12-09 23:36:28 +05:30
parent 0a22196468
commit 53493ff5db
1 changed files with 6 additions and 6 deletions

View File

@ -127,12 +127,12 @@ public abstract class RegionSplitPolicy extends Configured {
}
/**
* In {@link HRegionFileSystem#splitStoreFile(org.apache.hadoop.hbase.HRegionInfo,
* String, StoreFile, byte[], boolean)} we are not creating the split reference if split row
* not lies in the StoreFile range. But some use cases we may need to create the split reference
* even the split row not lies in the range.
* This method can be used to whether to skip the the StoreRile range check or not.
* @return whether to skip the StoreFile range check or or not
* In {@link HRegionFileSystem#splitStoreFile(org.apache.hadoop.hbase.HRegionInfo, String,
* StoreFile, byte[], boolean, RegionSplitPolicy)} we are not creating the split reference
* if split row not lies in the StoreFile range. But in some use cases we may need to create
* the split reference even when the split row not lies in the range. This method can be used
* to decide, whether to skip the the StoreFile range check or not.
* @return whether to skip the StoreFile range check or not
*/
protected boolean skipStoreFileRangeCheck() {
return false;