Hello everyone,

I tried upgrading to 1.12.0 and right away noticed that PutAzureBlobStorage
is failing due to the following error. I don't think it's an issue with
access because I can use a ListAzureBlobStorage on the same container and I
haven't changed the permissions of the container. And I didn't change any
parameters during the upgrade and it was working on 1.11.4.

I am writing the blob to a container path that already exists:
"my-container/A/B/my_test_blob.json:"

2020-09-16 00:59:17,283 ERROR [Timer-Driven Process Thread-6]
o.a.n.p.a.storage.PutAzureBlobStorage
PutAzureBlobStorage[id=15404d54-bc14-350c-7847-521b765dd57f] Failed to put
Azure blob my_test_blob.json: com.microsoft.azure.storage.StorageException:
The requested URI does not represent any resource on the server.
com.microsoft.azure.storage.StorageException: The requested URI does not
represent any resource on the server.
        at
com.microsoft.azure.storage.StorageException.translateException(StorageException.java:87)
        at
com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:220)
        at
com.microsoft.azure.storage.blob.CloudBlobContainer.exists(CloudBlobContainer.java:744)
        at
com.microsoft.azure.storage.blob.CloudBlobContainer.createIfNotExists(CloudBlobContainer.java:354)
        at
com.microsoft.azure.storage.blob.CloudBlobContainer.createIfNotExists(CloudBlobContainer.java:301)
        at
org.apache.nifi.processors.azure.storage.PutAzureBlobStorage.onTrigger(PutAzureBlobStorage.java:100)
        at
org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
        at
org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1174)
        at
org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:213)
        at
org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
        at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: null
        at
com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:202)
        ... 16 common frames omitted

Thanks,
Eric

Reply via email to