Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18542

Azure Token provider requires tenant and client IDs despite being optional

    XMLWordPrintableJSON

Details

    • Patch

    Description

      The `AbfsConfiguration` class requires that we provide a tenant and client ID when using the `MsiTokenProvider` class to fetch an authentication token. The bug is that those fields are not required by the Azure API, which can infer those fields when the call is made from an Azure instance.

      The fix is to make tenant and client ID optional when getting an Azure token from the Azure Metadata Service.

      A fix has been submitted here: https://github.com/apache/hadoop/pull/4262

      The bug was introduced with HADOOP-17725  (https://github.com/apache/hadoop/pull/3041/files)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              clevasseur Carl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: