GitHub user turcsanyip opened a pull request: https://github.com/apache/flume/pull/209
FLUME-3142: Adding HBase2 sink. HBase2Sink is the equivalent of HBaseSink for HBase version 2. HBaseSink used some API calls which were deprecated in HBase 1.x and they are not available in HBase 2.x any more. HBase2Sink has been implemented by copying the existing flume-ng-hbase-sink module to the new flume-ng-hbase2-sink module, then adjusting the incompatible API calls to HBase 2. The package and class names have also been modified to have the hbase2/HBase2 tag. "Hbase" typos have been fixed too. The functionality provided by HBase2Sink and the configuration parameters are the same as in case of HBaseSink (except the hbase2 tag in the sink type and the package/class names). HBaseSink has not been modified, so it works with HBase 1.x as before. You can merge this pull request into a Git repository by running: $ git pull https://github.com/turcsanyip/flume FLUME-3142 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flume/pull/209.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #209 ---- commit e0c176109030f1c9b7bfcd622d4b4032df889238 Author: turcsanyi <turcsanyi@...> Date: 2018-05-17T19:34:38Z FLUME-3142: Adding HBase2 sink. HBase2Sink is the equivalent of HBaseSink for HBase version 2. HBaseSink used some API calls which were deprecated in HBase 1.x and they are not available in HBase 2.x any more. HBase2Sink has been implemented by copying the existing flume-ng-hbase-sink module to the new flume-ng-hbase2-sink module, then adjusting the incompatible API calls to HBase 2. The package and class names have also been modified to have the hbase2/HBase2 tag. "Hbase" typos have been fixed too. The functionality provided by HBase2Sink and the configuration parameters are the same as in case of HBaseSink (except the hbase2 tag in the sink type and the package/class names). HBaseSink has not been modified, so it works with HBase 1.x as before. ---- ---