Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10282

We can't assure that the first ZK server is active server in MiniZooKeeperCluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • 0.94.3
    • None
    • None
    • None

    Description

      Thanks to HBASE-3052, 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.

      Attachments

        1. HBASE-10282-0.94-v1.patch
          8 kB
          chendihao

        Activity

          People

            Unassigned Unassigned
            tobe chendihao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: