HBASE-16626 User customized RegionScanner from 1.X is incompatible with 2.0.0's off-heap part. (Charlie Qiangeng Xu)

This commit is contained in:
anoopsamjohn 2016-09-15 18:07:43 +05:30
parent e6f8f6dbd0
commit 56be3ac7c8
1 changed files with 9 additions and 0 deletions

View File

@ -115,4 +115,13 @@ public interface RegionScanner extends InternalScanner, Shipper {
*/ */
boolean nextRaw(List<Cell> result, ScannerContext scannerContext) boolean nextRaw(List<Cell> result, ScannerContext scannerContext)
throws IOException; throws IOException;
/**
* Empty implementation to provide compatibility for user migrating from 1.X
* @see <a href="https://issues.apache.org/jira/browse/HBASE-16626">HBASE-16626</a>
*/
@Override
default void shipped() throws IOException {
// do nothing
}
} }