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:
parent
1fae34de56
commit
9a128b94d5
@ -127,12 +127,12 @@ public abstract class RegionSplitPolicy extends Configured {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* In {@link HRegionFileSystem#splitStoreFile(org.apache.hadoop.hbase.HRegionInfo,
|
* In {@link HRegionFileSystem#splitStoreFile(org.apache.hadoop.hbase.HRegionInfo, String,
|
||||||
* String, StoreFile, byte[], boolean)} we are not creating the split reference if split row
|
* StoreFile, byte[], boolean, RegionSplitPolicy)} we are not creating the split reference
|
||||||
* not lies in the StoreFile range. But some use cases we may need to create the split reference
|
* if split row not lies in the StoreFile range. But in some use cases we may need to create
|
||||||
* even the split row not lies in the range.
|
* the split reference even when the split row not lies in the range. This method can be used
|
||||||
* This method can be used to whether to skip the the StoreRile range check or not.
|
* to decide, whether to skip the the StoreFile range check or not.
|
||||||
* @return whether to skip the StoreFile range check or or not
|
* @return whether to skip the StoreFile range check or not
|
||||||
*/
|
*/
|
||||||
protected boolean skipStoreFileRangeCheck() {
|
protected boolean skipStoreFileRangeCheck() {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user