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

Class loader leak caused by StatisticsDataReferenceCleaner thread

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

Details

    Description

      The "org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner" daemon thread was created by FileSystem. 

      This is fine if the thread's context class loader is the system class loader, but it's bad if the context class loader is a custom class loader. The reference held by this daemon thread means that the class loader can never become eligible for GC.

      Attachments

        Activity

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

          People

            fanjia Jia Fan
            fanjia Jia Fan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment