Sneha Vijayarajan created HADOOP-17054:
------------------------------------------

             Summary: ABFS: Fix idempotency test failures when SharedKey is set 
as AuthType
                 Key: HADOOP-17054
                 URL: https://issues.apache.org/jira/browse/HADOOP-17054
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/azure
    Affects Versions: 3.2.1
            Reporter: Sneha Vijayarajan
            Assignee: Sneha Vijayarajan
             Fix For: 3.4.0


Idempotency related tests added as part of 

https://issues.apache.org/jira/browse/HADOOP-17015

create a test AbfsClient instance. This mock instance wrongly accepts valid 
sharedKey and oauth token provider instance. This leads to test failures with 
exceptions:
[ERROR] 
testRenameRetryFailureAsHTTP404(org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemRename)
  Time elapsed: 9.133 s  <<< ERROR!
 Invalid auth type: SharedKey is being used, expecting OAuth
         at 
org.apache.hadoop.fs.azurebfs.AbfsConfiguration.getTokenProvider(AbfsConfiguration.java:643)
This Jira is to fix these tests.



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

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

Reply via email to