hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chendihao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10282) We can't assure that the first ZK server is active server in MiniZooKeeperCluster
Date Mon, 06 Jan 2014 02:15:50 GMT
chendihao created HBASE-10282:
---------------------------------

             Summary: We can't assure that the first ZK server is active server in MiniZooKeeperCluster
                 Key: HBASE-10282
                 URL: https://issues.apache.org/jira/browse/HBASE-10282
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.94.3
            Reporter: chendihao
            Priority: Minor


Thanks to https://issues.apache.org/jira/browse/HBASE-10274, we're able to run multiple zk
servers in minicluster. However, It's confusing to keep the variable activeZKServerIndex as
zero and assure the first zk server is always the active one. I think returning the first
sever's client port is for testing and it seems that we can directly return the first item
of the list. Anyway, the concept of "active" here is not the same as zk's. 

It's confusing when I read the code so I think we should fix it.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message