hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samir Ahmic (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14861) HBASE_ZNODE_FILE on master server is overwritten by regionserver process in case of master-rs collocation
Date Fri, 20 Nov 2015 13:05:11 GMT
Samir Ahmic created HBASE-14861:
-----------------------------------

             Summary: 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


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)

Mime
View raw message