-
Notifications
You must be signed in to change notification settings - Fork 36
[FLINK-35280] Migrate HBase Sink to use Async Sink API #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5ba938c to
9848246
Compare
ferenc-csaky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this done! Awesome work, added a couple comments/questions.
...ase-base/src/main/java/org/apache/flink/connector/hbase/util/HBaseMutationSerialization.java
Outdated
Show resolved
Hide resolved
...-hbase-base/src/main/java/org/apache/flink/connector/hbase/util/WrappedElementConverter.java
Show resolved
Hide resolved
...tor-hbase-base/src/main/java/org/apache/flink/connector/hbase/util/SerializableMutation.java
Show resolved
Hide resolved
...tor-hbase-base/src/main/java/org/apache/flink/connector/hbase/sink/SerializableMutation.java
Outdated
Show resolved
Hide resolved
...-hbase-base/src/main/java/org/apache/flink/connector/hbase/sink/HBaseWriterAsyncHandler.java
Outdated
Show resolved
Hide resolved
...-hbase-base/src/main/java/org/apache/flink/connector/hbase/sink/HBaseWriterAsyncHandler.java
Outdated
Show resolved
Hide resolved
...-hbase-base/src/main/java/org/apache/flink/connector/hbase/sink/HBaseWriterAsyncHandler.java
Outdated
Show resolved
Hide resolved
...-hbase-base/src/main/java/org/apache/flink/connector/hbase/sink/HBaseWriterAsyncHandler.java
Outdated
Show resolved
Hide resolved
...-hbase-base/src/main/java/org/apache/flink/connector/hbase/sink/HBaseWriterAsyncHandler.java
Show resolved
Hide resolved
|
I have upgraded HBase to 2.6.4, as the IT test was failing because 2.6.3 has been removed from the public repository: https://dlcdn.apache.org/hbase/ |
79ae57d to
1692748
Compare
1692748 to
28c4803
Compare
ferenc-csaky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logic LGTM now, I more thing lets add sink.max-request-write-attempts to hbase.md as well.
|
Thank you, I forgot about that. |
HBase2DynamicTableFactorySerializableMutationbecauseMutationis not serializablecommons-ioto the shaded JAR because the async version of HBase client needed ittestTableSinkDisabledBufferFlushbecause it was not working without Flink being able to chain all the operators into 1 operator.