You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2020/07/14 16:05:29 UTC

[GitHub] [hadoop] bilaharith commented on a change in pull request #2123: HADOOP-17092. ABFS: Making AzureADAuthenticator.getToken() throw HttpException if a…

bilaharith commented on a change in pull request #2123:
URL: https://github.com/apache/hadoop/pull/2123#discussion_r454469249



##########
File path: hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/oauth2/AzureADAuthenticator.java
##########
@@ -275,21 +287,24 @@ public UnexpectedResponseException(final int httpErrorCode,
   }
 
   private static AzureADToken getTokenCall(String authEndpoint, String body,
-      Hashtable<String, String> headers, String httpMethod) throws IOException {
-    return getTokenCall(authEndpoint, body, headers, httpMethod, false);
+      Hashtable<String, String> headers, String httpMethod,
+      ExponentialRetryPolicy tokenFetchRetryPolicy) throws IOException {
+    return getTokenCall(authEndpoint, body, headers, httpMethod, false,
+        tokenFetchRetryPolicy);
   }
 
   private static AzureADToken getTokenCall(String authEndpoint, String body,
-      Hashtable<String, String> headers, String httpMethod, boolean isMsi)
+      Hashtable<String, String> headers, String httpMethod, boolean isMsi,
+      ExponentialRetryPolicy tokenFetchRetryPolicy)
       throws IOException {
     AzureADToken token = null;
-    ExponentialRetryPolicy retryPolicy

Review comment:
       Done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org