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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 2.7.1, 3.0.0-alpha1
    • hdfs-client
    • 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.1.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.3.patch
          2 kB
          Arun Suresh

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            asuresh Arun Suresh
            asuresh Arun Suresh
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment