Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 44609 invoked from network); 26 Jan 2010 13:32:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jan 2010 13:32:56 -0000 Received: (qmail 37261 invoked by uid 500); 26 Jan 2010 13:32:56 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 37209 invoked by uid 500); 26 Jan 2010 13:32:55 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 37199 invoked by uid 99); 26 Jan 2010 13:32:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 13:32:55 +0000 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; Tue, 26 Jan 2010 13:32:54 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B7D9829A0016 for ; Tue, 26 Jan 2010 05:32:34 -0800 (PST) Message-ID: <1037892790.37941264512754751.JavaMail.jira@brutus.apache.org> Date: Tue, 26 Jan 2010 13:32:34 +0000 (UTC) From: "Steve Loughran (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Moved: (HDFS-925) Make it harder to accidentally close a shared DFSClient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran moved HADOOP-5933 to HDFS-925: --------------------------------------------- Component/s: (was: fs) hdfs client Fix Version/s: (was: 0.22.0) 0.22.0 Affects Version/s: (was: 0.21.0) 0.21.0 Key: HDFS-925 (was: HADOOP-5933) Project: Hadoop HDFS (was: Hadoop Common) > Make it harder to accidentally close a shared DFSClient > ------------------------------------------------------- > > Key: HDFS-925 > URL: https://issues.apache.org/jira/browse/HDFS-925 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs client > Affects Versions: 0.21.0 > Reporter: Steve Loughran > Priority: Minor > Fix For: 0.22.0 > > Attachments: HADOOP-5933.patch, HADOOP-5933.patch > > > Every so often I get stack traces telling me that DFSClient is closed, usually in {{org.apache.hadoop.hdfs.DFSClient.checkOpen() }} . The root cause of this is usually that one thread has closed a shared fsclient while another thread still has a reference to it. If the other thread then asks for a new client it will get one -and the cache repopulated- but if has one already, then I get to see a stack trace. > It's effectively a race condition between clients in different threads. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.