Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15763 Über-JIRA: abfs phase II: Hadoop 3.3 features & fixes
  3. HADOOP-17054

ABFS: Fix idempotency test failures when SharedKey is set as AuthType

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3.1, 3.4.0
    • fs/azure
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              snvijaya Sneha Vijayarajan
              snvijaya Sneha Vijayarajan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: