Return-Path: Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: (qmail 28456 invoked from network); 26 Oct 2010 19:07:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Oct 2010 19:07:45 -0000 Received: (qmail 12016 invoked by uid 500); 26 Oct 2010 19:07:45 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 11936 invoked by uid 500); 26 Oct 2010 19:07:44 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 11928 invoked by uid 99); 26 Oct 2010 19:07:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 19:07:44 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 19:07:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9QJ7KdI023314 for ; Tue, 26 Oct 2010 19:07:20 GMT Message-ID: <19679459.85531288120040425.JavaMail.jira@thor> Date: Tue, 26 Oct 2010 15:07:20 -0400 (EDT) From: "Joydeep Sen Sarma (JIRA)" To: hdfs-dev@hadoop.apache.org Subject: [jira] Created: (HDFS-1478) unsafe interrupted condition check in DFSClient lease renewal thread MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org unsafe interrupted condition check in DFSClient lease renewal thread -------------------------------------------------------------------- Key: HDFS-1478 URL: https://issues.apache.org/jira/browse/HDFS-1478 Project: Hadoop HDFS Issue Type: Bug Reporter: Joydeep Sen Sarma Assignee: dhruba borthakur the lease renewal thread bails out if thread interrupted condition is set: while (clientRunning && !Thread.interrupted()) { this seems incorrect. we have seen cases (MAPREDUCE-2157) where (apparently) log4j may be setting the interrupted condition. if that is the case - the lease renewal thread will terminate - and i think we have heard of cases where lease renewal is not happening. so these seem to fit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.