>From Hussain Towaileb <[email protected]>:

Hussain Towaileb has uploaded this change for review. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19646 )


Change subject: [NO ISSUE]: Azure cloud client should not create container
......................................................................

[NO ISSUE]: Azure cloud client should not create container

Details:
The Azure cloud client should not create the container
if it does not exist, rather it should fail the
operations with a 404 container not found.

Ext-ref: MB-66282
Change-Id: I2387bf734bd36ac0fc3f89d93fcad62d17e37399
---
M 
asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/azure/blobstorage/AzBlobStorageCloudClient.java
1 file changed, 15 insertions(+), 1 deletion(-)



  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb 
refs/changes/46/19646/1

diff --git 
a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/azure/blobstorage/AzBlobStorageCloudClient.java
 
b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/azure/blobstorage/AzBlobStorageCloudClient.java
index 8e273a1..7922fc4 100644
--- 
a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/azure/blobstorage/AzBlobStorageCloudClient.java
+++ 
b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/azure/blobstorage/AzBlobStorageCloudClient.java
@@ -99,7 +99,6 @@
     public AzBlobStorageCloudClient(AzBlobStorageClientConfig config, 
BlobServiceClient blobServiceClient,
             ICloudGuardian guardian) {
         this.blobContainerClient = 
blobServiceClient.getBlobContainerClient(config.getBucket());
-        this.blobContainerClient.createIfNotExists();
         this.config = config;
         this.guardian = guardian;
         long profilerInterval = config.getProfilerLogInterval();

--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19646
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings

Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Change-Id: I2387bf734bd36ac0fc3f89d93fcad62d17e37399
Gerrit-Change-Number: 19646
Gerrit-PatchSet: 1
Gerrit-Owner: Hussain Towaileb <[email protected]>
Gerrit-MessageType: newchange

Reply via email to