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 89A5F18FD1 for ; Tue, 24 Nov 2015 16:35:11 +0000 (UTC) Received: (qmail 62698 invoked by uid 500); 24 Nov 2015 16:35:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62617 invoked by uid 500); 24 Nov 2015 16:35:11 -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 62423 invoked by uid 99); 24 Nov 2015 16:35:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2015 16:35:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1D4D22C1F5B for ; Tue, 24 Nov 2015 16:35:11 +0000 (UTC) Date: Tue, 24 Nov 2015 16:35:11 +0000 (UTC) From: "Samir Ahmic (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14861) HBASE_ZNODE_FILE on master server is overwritten by regionserver process in case of master-rs collocation 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-14861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15024792#comment-15024792 ] Samir Ahmic commented on HBASE-14861: ------------------------------------- Thank you for review [~tedyu]. I will create new patch addressing things you mentioned. > HBASE_ZNODE_FILE on master server is overwritten by regionserver process in case of master-rs collocation > ---------------------------------------------------------------------------------------------------------- > > Key: HBASE-14861 > URL: https://issues.apache.org/jira/browse/HBASE-14861 > Project: HBase > Issue Type: Bug > Components: Operability > Affects Versions: 2.0.0 > Reporter: Samir Ahmic > Assignee: Samir Ahmic > Fix For: 2.0.0 > > Attachments: HBASE-14861.patch, HBASE-14861v2.patch > > > In case of master-rs collocation HBASE_ZNODE_FILE is overwritten by regionserver process in HRegionServer#handleReportForDutyResponse() here is how it looks on master server: > {code} > [hbase@hnode2 hbase]$ cat hbase-hbase-master.znode > /hbase/rs/hnode2,16000,1448022074888 > {code} > it contains regionserver znode path instead of String value of master's ServerName. This affects ZNodeClearer#clear() in way that will not clear master znode in case we detect master crash. At end this will extend failover time until master znode expires configured in zookeeper by maxSessionTimeout parameter (40s in my case). > I have notice this on mater branch but it can be case in other branches where we are collocating master and rs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)