[
https://issues.apache.org/jira/browse/HADOOP-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581246#action_12581246
]
Nigel Daley commented on HADOOP-3070:
-------------------------------------
Thanks for the patch Koji. This patch needs a test case in TestTrash.java. As
well, can someone code review the HADOOP-2514 patch that implemented this
feature to see if there are other issues with it? It was committed without a
code review. Sigh.
> 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.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.