[ 
https://issues.apache.org/jira/browse/HADOOP-17576?focusedWorklogId=574919&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-574919
 ]

ASF GitHub Bot logged work on HADOOP-17576:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Mar/21 15:44
            Start Date: 31/Mar/21 15:44
    Worklog Time Spent: 10m 
      Work Description: sumangala-patki commented on a change in pull request 
#2761:
URL: https://github.com/apache/hadoop/pull/2761#discussion_r605001873



##########
File path: 
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAbfsRestOperationException.java
##########
@@ -114,4 +117,32 @@ public void testWithDifferentCustomTokenFetchRetry(int 
numOfRetries) throws Exce
             + ") done, does not match with 
fs.azure.custom.token.fetch.retry.count configured (" + numOfRetries
             + ")", RetryTestTokenProvider.reTryCount == numOfRetries);
   }
+
+  @Test
+  public void testAuthFailException() throws Exception {
+    Configuration config = new Configuration(getRawConfiguration());
+    String accountName = config.get("fs.azure.abfs.account.name");
+    // Setup to configure custom token provider
+    config.set("fs.azure.account.auth.type." + accountName, "Custom");

Review comment:
       Replaced with constants




-- 
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 574919)
    Time Spent: 1h 50m  (was: 1h 40m)

> ABFS: Disable throttling update for auth failures
> -------------------------------------------------
>
>                 Key: HADOOP-17576
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17576
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.3.1
>            Reporter: Sumangala Patki
>            Assignee: Sumangala Patki
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Throttling metrics are updated post the execution of each request. Failures 
> related to fetching access tokens and signing requests do not occur at the 
> Store. Hence, such operations should not contribute to the measured Store 
> failures, and are therefore excluded from the metric update for throttling.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to