Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 44410 invoked from network); 22 Mar 2008 04:11:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2008 04:11:23 -0000 Received: (qmail 99956 invoked by uid 500); 22 Mar 2008 04:11:20 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 99940 invoked by uid 500); 22 Mar 2008 04:11:20 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 99931 invoked by uid 99); 22 Mar 2008 04:11:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 21:11:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2008 04:10:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C508F234C0AC for ; Fri, 21 Mar 2008 21:09:25 -0700 (PDT) Message-ID: <176231039.1206158965805.JavaMail.jira@brutus> Date: Fri, 21 Mar 2008 21:09:25 -0700 (PDT) From: "Owen O'Malley (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3070) Trash not being expunged, Trash Emptier thread gone by NPE In-Reply-To: <371500131.1206138564459.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581243#action_12581243 ] Owen O'Malley commented on HADOOP-3070: --------------------------------------- +1 for 16.2 I would also add a catch at the outer level of the run method to catch runtime exceptions. > 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.