Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3273B9889 for ; Sat, 21 Jan 2012 15:27:02 +0000 (UTC) Received: (qmail 24098 invoked by uid 500); 21 Jan 2012 15:27:02 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 24022 invoked by uid 500); 21 Jan 2012 15:27:01 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 24010 invoked by uid 99); 21 Jan 2012 15:27:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jan 2012 15:27:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jan 2012 15:26:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E1E8F1596B3 for ; Sat, 21 Jan 2012 15:26:39 +0000 (UTC) Date: Sat, 21 Jan 2012 15:26:39 +0000 (UTC) From: "ramkrishna.s.vasudevan (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <487658521.63392.1327159599926.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1042392120.62920.1327128160241.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5243) LogSyncerThread not getting shutdown waiting for the interrupted flag 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/HBASE-5243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190443#comment-13190443 ] ramkrishna.s.vasudevan commented on HBASE-5243: ----------------------------------------------- Ted, You are right :). > LogSyncerThread not getting shutdown waiting for the interrupted flag > --------------------------------------------------------------------- > > Key: HBASE-5243 > URL: https://issues.apache.org/jira/browse/HBASE-5243 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.5 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 0.92.1, 0.90.6 > > Attachments: HBASE-5243_0.90.patch > > > In the LogSyncer run() we keep looping till this.isInterrupted flag is set. > But in some cases the DFSclient is consuming the Interrupted exception. So > we are running into infinite loop in some shutdown cases. > I would suggest that as we are the ones who tries to close down the > LogSyncerThread we can introduce a variable like > Close or shutdown and based on the state of this flag along with > isInterrupted() we can make the thread stop. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira