Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7931

DistributedFIleSystem should not look for keyProvider in cache if Encryption is disabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 2.7.1, 3.0.0-alpha1
    • Component/s: hdfs-client
    • Labels:
      None

      Description

      The addDelegationTokens method in DistributedFileSystem calls DFSClient#getKeyProvider() which attempts to get a provider from the KeyProvderCache but since the required key, dfs.encryption.key.provider.uri is not present (due to encryption being dissabled), it throws an exception.

      2015-03-11 23:55:47,849 [JobControl] ER ROR org.apache.hadoop.hdfs.KeyProviderCache - Could not find uri with key [dfs.encryption.key.provider.uri] to create a keyProvider !!
      

        Attachments

        1. HDFS-7931.3.patch
          2 kB
          Arun Suresh
        2. HDFS-7931.2.patch
          2 kB
          Arun Suresh
        3. HDFS-7931.2.patch
          2 kB
          Arun Suresh
        4. HDFS-7931.1.patch
          2 kB
          Arun Suresh

          Issue Links

            Activity

              People

              • Assignee:
                asuresh Arun Suresh
                Reporter:
                asuresh Arun Suresh
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: