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

Store KeyProvider in ClientContext to avoid leaking key provider threads when using FileContext

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • None
    • None

    Description

      Currently, the FileContext class used by clients such as (for eg. YARNRunner) creates a new AbstractFilesystem object on initialization.. which creates a new DFSClient object.. which in turn creates a KeyProvider object.. If Encryption is turned on, and https is turned on, the keyprovider implementation (the KMSClientProvider) will create a ReloadingX509TrustManager thread per instance... which are never killed and can lead to a thread leak

      Attachments

        1. HDFS-7718.1.patch
          20 kB
          Arun Suresh
        2. HDFS-7718.2.patch
          22 kB
          Arun Suresh
        3. HDFS-7718.3.patch
          22 kB
          Arun Suresh
        4. HDFS-7718.3.patch
          22 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:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment