Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 29404 invoked from network); 15 May 2008 18:43:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2008 18:43:18 -0000 Received: (qmail 88758 invoked by uid 500); 15 May 2008 18:43:18 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 88720 invoked by uid 500); 15 May 2008 18:43:18 -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 88706 invoked by uid 99); 15 May 2008 18:43:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 11:43:18 -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; Thu, 15 May 2008 18:42:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D77D1234C115 for ; Thu, 15 May 2008 11:42:55 -0700 (PDT) Message-ID: <1401206401.1210876975881.JavaMail.jira@brutus> Date: Thu, 15 May 2008 11:42:55 -0700 (PDT) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3393) TestHDFSServerPorts fails on LINUX (NFS mounted directory) and on WINDOWS In-Reply-To: <175189471.1210828435770.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-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-3393: ---------------------------------- Resolution: Fixed Assignee: lohit vijayarenu Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I just committed this. Thanks, Lohit > TestHDFSServerPorts fails on LINUX (NFS mounted directory) and on WINDOWS > ------------------------------------------------------------------------- > > Key: HADOOP-3393 > URL: https://issues.apache.org/jira/browse/HADOOP-3393 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.18.0 > Environment: LINUX, WINDOWS > Reporter: lohit vijayarenu > Assignee: lohit vijayarenu > Fix For: 0.18.0 > > Attachments: HADOOP-HDFSServerPorts.patch > > > HADOOP-2656 changes the way BlockScanner and BlockScannerThread are created. TestHDFSServerPorts tries to create a DataNode object, but expects a failure while starting it. As part of creating DataNode object we create BlockScanner object but not its corresponding BlockScannerThread as Daemon. While in shutdown() we check if BlockScannerThread is not null, then call BlockScanner.shutdown() to close a reference to LogFile it holds. > Now, on NFS mount and Windows, if a reference to file remains deleting the directory either leaves a .nfsXXXXX file or is not allowed (on windows). This was causing the test to fail. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.