[ https://issues.apache.org/jira/browse/HADOOP-17758?focusedWorklogId=609777&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-609777 ]
ASF GitHub Bot logged work on HADOOP-17758: ------------------------------------------- Author: ASF GitHub Bot Created on: 10/Jun/21 15:41 Start Date: 10/Jun/21 15:41 Worklog Time Spent: 10m Work Description: yikf opened a new pull request #3096: URL: https://github.com/apache/hadoop/pull/3096 After HADOOP-17728, `StatisticsDataReferenceCleaner` may appear the following questions, That's beacuse `ReferenceQueue.remove` might return `null`. 2021-06-09 21:51:12,334 WARN [org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner] fs.FileSystem (FileSystem.java:run(4025)) - Exception in the cleaner thread but it will continue to run java.lang.NullPointerException at org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner.run(FileSystem.java:4020) at java.lang.Thread.run(Thread.java:748) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 609777) Remaining Estimate: 0h Time Spent: 10m > NPE and excessive warnings after HADOOP-17728 > --------------------------------------------- > > Key: HADOOP-17758 > URL: https://issues.apache.org/jira/browse/HADOOP-17758 > Project: Hadoop Common > Issue Type: Bug > Components: common > Affects Versions: 3.4.0 > Reporter: Jim Brennan > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > I'm noticing these warnings and NPE's when just running a simple pi test on a > one node cluster: > {noformat} > 2021-06-09 21:51:12,334 WARNÂ > [org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner] > fs.FileSystem (FileSystem.java:run(4025)) - Exception in the cleaner thread > but it will continue to run > java.lang.NullPointerException > at > org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner.run(FileSystem.java:4020) > at java.lang.Thread.run(Thread.java:748){noformat} > This appears to be due to [HADOOP-17728]. > I'm not sure I understand why that change was made? Wasn't it by design that > the remove should wait until something is queued? > [~kaifeiYi] can you please investigate? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org