[ https://issues.apache.org/jira/browse/HADOOP-17758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361364#comment-17361364 ]
yikf commented on HADOOP-17758: ------------------------------- Oh, Thanks, you are right, My bad, If something is added to the queue, ReferenceQueue.enqueue will be called, i.e. lock.notifyAll be called, That will not wait forerver. I will revert. > 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 > Labels: pull-request-available > Time Spent: 0.5h > 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