-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Checkpoint Store] Exception KeyError('ownerid') #13060
Comments
This problem might be related to storage service. The user said in stackoverflow: I might have found what's causing the issue; I tested in fresh a venv with python 3.7.7 64bit installed. I created two new storage accounts from scratch (azure general storage v1 and v2) and made new containers in each. The issue only occured (and kept occuring) when I used azure storage V2 for checkpointing; Everything ran fine when I instead connected to the azure storage V1 account. This might be worth looking into. Then I tested both azure storage general v1 and v2. But I didn't see any problems in both versions. |
Fix the cause of the error message: ``` EventProcessor instance 'xxxxxxxxxxx' of eventhub <name of my eventhub> consumer group <name of my consumer group>. An error occurred while load-balancing and claiming ownership. The exception is KeyError('ownerid'). Retrying after xxxx seconds ``` Mentioned in Azure#13060
conclusion: The root cause is that the To illustrate this better, let's say we have the following blob structures:
in v2 storage with data lake enabled (hierarchical namespace), when the code was using prefix What we want is the per-partition blob, the fix is easy: we add a (Checkpoint would encounter the same problem) |
bug fix version released: azure-eventhub-checkpointstoreblob 1.1.2 |
Hi @yunhaoling and @YijunXieMS I guess something similar to this issue happens because the response from the premium storage account is a bit different? will appreciate any help :) |
Describe the bug
A user reported an error in stackoverflow.
The following error message was printed out when the checkpoint store is used.
EventProcessor instance 'xxxxxxxxxxx' of eventhub consumer group . An error occurred while load-balancing and claiming ownership. The exception is KeyError('ownerid'). Retrying after xxxx seconds
According to the user, all blobs under the container have metadata "ownerid". This error should only happen when a retrieved blob doesn't have "ownerid" in metadata, which isn't supposed to happen. Currently it's not clear what caused the "ownerid" not exist in the blob metadata.
To Reproduce
Not known yet.
Expected behavior
No error happens
The text was updated successfully, but these errors were encountered: