You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Vasu Mariyala (JIRA)" <ji...@apache.org> on 2014/01/11 00:17:50 UTC

[jira] [Created] (HBASE-10317) getClientPort method of MiniZooKeeperCluster does not always return the correct value

Vasu Mariyala created HBASE-10317:
-------------------------------------

             Summary: getClientPort method of MiniZooKeeperCluster does not always return the correct value
                 Key: HBASE-10317
                 URL: https://issues.apache.org/jira/browse/HBASE-10317
             Project: HBase
          Issue Type: Bug
            Reporter: Vasu Mariyala
            Priority: Minor


{code}
//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
{code}



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