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

Class loader leak caused by StatisticsDataReferenceCleaner thread

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: