You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a heartbeat topic that receives messages on the topic persistent://public/default/canary, and I configured retention on this topic to test tiered storage in GCP. When I manually trigger offloading from the topic, I get the error java.util.concurrent.CompletionException: org.jclouds.rest.ResourceNotFoundException: Not Found, as shown below:
Reason: Error offloading: org.apache.bookkeeper.mledger.ManagedLedgerException: java.util.concurrent.CompletionException: org.jclouds.rest.ResourceNotFoundException: Not Found
On the broker and bookie containers, I have the GCP JSON key file located at conf/auth/tiered-storage.key
In my broker.conf file, I have the GCS attributes configured as follows:
It seems that the key file path is incorrect. However, when I tried altering the key file to contain invalid JSON, I got an error message that the JSON was invalid when I triggered a manual offload of the topic, which implies that Pulsar was able to access the key file.
Activity
devinbost commentedon Nov 3, 2020
FYI @david-streamlio
devinbost commentedon Nov 3, 2020
Could the bucket path be incorrect? Perhaps it doesn't like the prefix.
devinbost commentedon Nov 3, 2020
I removed the "gs://" prefix from the bucket name in broker.conf, and the issue was resolved.
codelipenghui commentedon Nov 6, 2020
@devinbost Seems we should clarify it in the document, are you interested in fix it?