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 7157F888B for ; Wed, 14 Sep 2011 00:26:31 +0000 (UTC) Received: (qmail 52022 invoked by uid 500); 14 Sep 2011 00:26:30 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51927 invoked by uid 500); 14 Sep 2011 00:26:30 -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 51759 invoked by uid 99); 14 Sep 2011 00:26:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 00:26:30 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Wed, 14 Sep 2011 00:26:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5EBDF97B7C for ; Wed, 14 Sep 2011 00:26:09 +0000 (UTC) Date: Wed, 14 Sep 2011 00:26:09 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <840666206.24664.1315959969384.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <314083017.10282.1315608488823.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4363) [replication] ReplicationSource won't close if failing to contact the sink 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-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104101#comment-13104101 ] stack commented on HBASE-4363: ------------------------------ isReplicating a better name for the isActive method? (The latter is generic) What is this.running? Whats it signify? Otherwise patch seems fine. > [replication] ReplicationSource won't close if failing to contact the sink > -------------------------------------------------------------------------- > > Key: HBASE-4363 > URL: https://issues.apache.org/jira/browse/HBASE-4363 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.4 > Reporter: Jean-Daniel Cryans > Fix For: 0.90.5 > > Attachments: HBASE-4363-0.90.patch > > > When trying to close a source, it will hang if it's already in shipEdits() and has issues reaching the sink. The reason is that in that method the while loop only checks if the RS is going down but not if the source was asked to shutdown. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira