Skip to content
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

[Feature][Connector-V2] Add Handling Logic for HBase Asynchronous Data Write Failures #8279

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

xiaochen-zhou
Copy link
Contributor

Purpose of this pull request

Add Handling Logic for HBase Asynchronous Data Write Failures, Including Retries for Data Write Failures Caused by Temporary Region Unavailability Due to Region Split or Region Balance

Does this PR introduce any user-facing change?

no

How was this patch tested?

exist tests

Check list

.writeBufferSize(hbaseParameters.getWriteBufferSize())
.listener(
(e, mutator) -> {
for (int i = 0; i < e.getNumExceptions(); i++) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's happend when all retry failed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's happend when all retry failed?

It is indeed a bug, and I haven't thought of a good way to prevent this situation from occurring. Moreover, there is currently no relevant log information when HBase write failures happen.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should handle this situation before merge this PR.

Copy link
Member

@Carl-Zhou-CN Carl-Zhou-CN Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the HBase client itself will also perform a certain number of retries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants