reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (REEF-2033) Introduce configurable azure blob exponential retry policy
Date Tue, 12 Jun 2018 00:11:00 GMT

    [ https://issues.apache.org/jira/browse/REEF-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16508984#comment-16508984
] 

ASF GitHub Bot commented on REEF-2033:
--------------------------------------

dwaijam commented on a change in pull request #1470: [REEF-2033] Introduce configurable azure
blob exponential retry policy
URL: https://github.com/apache/reef/pull/1470#discussion_r194583416
 
 

 ##########
 File path: lang/cs/Org.Apache.REEF.IO/FileSystem/AzureBlob/AzureCloudBlobContainer.cs
 ##########
 @@ -25,22 +25,24 @@ namespace Org.Apache.REEF.IO.FileSystem.AzureBlob
     internal sealed class AzureCloudBlobContainer : ICloudBlobContainer
     {
         private readonly CloudBlobContainer _container;
+        private readonly BlobRequestOptions _requestOptions;
 
-        public AzureCloudBlobContainer(CloudBlobContainer container)
+        public AzureCloudBlobContainer(CloudBlobContainer container, BlobRequestOptions requestOptions)
         {
             _container = container;
+            _requestOptions = requestOptions;
         }
 
         public bool CreateIfNotExists()
         {
-            var task = _container.CreateIfNotExistsAsync();
+            var task = _container.CreateIfNotExistsAsync(_requestOptions, null);
             task.Wait();
             return task.Result;
 
 Review comment:
   Wait() return is void
   
   ---
   In reply to: [194559199](https://github.com/apache/reef/pull/1470#discussion_r194559199)
[](ancestors = 194559199)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Introduce configurable azure blob exponential retry policy
> ----------------------------------------------------------
>
>                 Key: REEF-2033
>                 URL: https://issues.apache.org/jira/browse/REEF-2033
>             Project: REEF
>          Issue Type: New Feature
>          Components: REEF
>            Reporter: Dwaipayan Mukhopadhyay
>            Assignee: Dwaipayan Mukhopadhyay
>            Priority: Major
>
> Currently, the AzureBlob retry policy defaults to Azure Blob Client's default ExponentialRetryPolicy
which has retry count as 3 and retry interval as 4 seconds. Higher load jobs require custom
setting of these values to over azure blob throttling - [https://issues.apache.org/jira/projects/REEF/issues/REEF-2017|https://issues.apache.org/jira/projects/REEF/issues/REEF-2017.] . This
change allows user to set their own retry count and intervals



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message