RegionObserver upcalls are expected to be triggered by corresponding client calls.
I found that if a HTable.get() is issued, ScannerNext, and ScannerClose hooks are also invoked.
Here is the reason: HRegion.get() is implemented with an internal scanner:
where scanner.next, and scanner.close() are implemented with RegionObserver hooks.
|Field||Original Value||New Value|
|Fix Version/s||0.92.0 [ 12314223 ]|
|Fix Version/s||0.90.2 [ 12316152 ]|
|Affects Version/s||0.92.0 [ 12314223 ]|
|Affects Version/s||0.90.2 [ 12316152 ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|