hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10317) getClientPort method of MiniZooKeeperCluster does not always return the correct value
Date Sun, 26 Jan 2014 07:52:51 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882216#comment-13882216
] 

Hudson commented on HBASE-10317:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #4856 (See [https://builds.apache.org/job/HBase-TRUNK/4856/])
HBASE-10317 getClientPort method of MiniZooKeeperCluster does not always return the correct
value (stack: rev 1561453)
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/TestHBaseTestingUtility.java


> 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
>            Assignee: Vasu Mariyala
>            Priority: Minor
>             Fix For: 0.99.0
>
>         Attachments: HBASE-10317.patch
>
>
> {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)

Mime
View raw message