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 A1CC49D86 for ; Sat, 12 Nov 2011 04:51:19 +0000 (UTC) Received: (qmail 98247 invoked by uid 500); 12 Nov 2011 04:51:19 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 98093 invoked by uid 500); 12 Nov 2011 04:51:17 -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 98084 invoked by uid 99); 12 Nov 2011 04:51:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Nov 2011 04:51:16 +0000 X-ASF-Spam-Status: No, hits=-2001.2 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; Sat, 12 Nov 2011 04:51:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CF54156CFF for ; Sat, 12 Nov 2011 04:50:51 +0000 (UTC) Date: Sat, 12 Nov 2011 04:50:51 +0000 (UTC) From: "Ted Yu (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <175636606.23544.1321073451855.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1496651687.8709.1316839646212.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4478) Improve AssignmentManager.handleRegion so that it can process certain ZK state in the case of RS offline 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 [ https://issues.apache.org/jira/browse/HBASE-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148988#comment-13148988 ] Ted Yu commented on HBASE-4478: ------------------------------- Integrated to 0.92 and TRUNK. Thanks for the patch Ramkrishna. Thanks for the review Stack. > Improve AssignmentManager.handleRegion so that it can process certain ZK state in the case of RS offline > -------------------------------------------------------------------------------------------------------- > > Key: HBASE-4478 > URL: https://issues.apache.org/jira/browse/HBASE-4478 > Project: HBase > Issue Type: Bug > Reporter: Ming Ma > Assignee: ramkrishna.s.vasudevan > Attachments: 4478-v2.txt, HBASE-4478_1.patch > > > Currently AssignmentManager.handleRegion skips processing of ZK event change if the RS is offline. It relies on TimeoutMonitor and ServerShutdownHandler to process RIT. > // Verify this is a known server > if (!serverManager.isServerOnline(sn) && > !this.master.getServerName().equals(sn)) { > LOG.warn("Attempted to handle region transition for server but " + > "server is not online: " + Bytes.toString(data.getRegionName())); > return; > } > For certain states like OPENED, OPENING, FAILED_OPEN, CLOSED, it can continue the progressing even if the RS is offline. -- 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