[
https://issues.apache.org/jira/browse/HADOOP-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Noguchi updated HADOOP-3070:
---------------------------------
Attachment: H3070.0.16.1-2.patch
Owen, added a try-catch for RuntimeException.
I wasn't sure where I should put.
Nigel, added one test for -expunge on an empty user dir.
> Trash not being expunged, Trash Emptier thread gone by NPE
> ----------------------------------------------------------
>
> Key: HADOOP-3070
> URL: https://issues.apache.org/jira/browse/HADOOP-3070
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.16.0, 0.16.1
> Reporter: Koji Noguchi
> Fix For: 0.16.2
>
> Attachments: H3070.0.16.1-2.patch, H3070.0.16.1.patch
>
>
> We noticed that the users' trash were not being expunged by the namenode.
> jstack didn't show the Trash.Emptier thread and .out file showed
> Exception in thread "Trash Emptier" java.lang.NullPointerException
> at org.apache.hadoop.fs.Trash.expunge(Trash.java:146)
> at org.apache.hadoop.fs.Trash$Emptier.run(Trash.java:233)
> at java.lang.Thread.run(Thread.java:619)
> It seems like this happens when it hits the user's directory which doesn't
> contain the .Trash.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.