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

getClientPort method of MiniZooKeeperCluster does not always return the correct value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.99.0
    • None
    • None
    • Reviewed

    Description

      //Starting 5 zk servers
      MiniZooKeeperCluster cluster = hbt.startMiniZKCluster(5);
      int defaultClientPort = 21818;
      cluster.setDefaultClientPort(defaultClientPort);
      cluster.killCurrentActiveZooKeeperServer();
      cluster.getClientPort(); //Still returns the port of the zk server that was killed in the previous step
      

      Attachments

        1. HBASE-10317.patch
          3 kB
          Vasu Mariyala

        Activity

          People

            vmariyala Vasu Mariyala
            vasu.mariyala@gmail.com Vasu Mariyala
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: