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

AlreadyBeingCreatedException when appending the bookkeeper file on HDFS #178

Closed
yruslan opened this issue Mar 24, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@yruslan
Copy link
Collaborator

yruslan commented Mar 24, 2023

Describe the bug

On HDFS which support atomic appends, the following exception is observed:

 AlreadyBeingCreatedException: Failed to APPEND_FILE
 because DFSClient_NONMAPREDUCE is already the current lease holder.
 This is rare, but happens. This is why retries are introduced.

Such an exception is rare, and seems like completely random.

Expected behavior

The solution is not use unsupported bookkeeping HDFS storage.
But for users that rely on it, the workaround should be in place so that such exceptions won't occur.

Proposed Solution

Add a retry-mechanism for appends.

@yruslan yruslan added the bug Something isn't working label Mar 24, 2023
@yruslan yruslan self-assigned this Mar 24, 2023
yruslan added a commit that referenced this issue Mar 24, 2023
Affects only bookeeper backed by HDFS storage.
yruslan added a commit that referenced this issue Mar 27, 2023
Affects only bookeeper backed by HDFS storage.
@yruslan yruslan closed this as completed Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant