Jia Fan created HADOOP-19049:
--------------------------------

             Summary: Class loader leak caused by 
StatisticsDataReferenceCleaner thread
                 Key: HADOOP-19049
                 URL: https://issues.apache.org/jira/browse/HADOOP-19049
             Project: Hadoop Common
          Issue Type: Bug
          Components: common
    Affects Versions: 3.3.6
            Reporter: Jia Fan


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to