You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/06/08 23:41:02 UTC

[jira] [Resolved] (HBASE-6678) TestMergeTool picks unlikely ZK port that could conflict

     [ https://issues.apache.org/jira/browse/HBASE-6678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-6678.
-----------------------------------

    Resolution: Won't Fix

Stale issue. Reopen if still relevant.

> TestMergeTool picks unlikely ZK port that could conflict
> --------------------------------------------------------
>
>                 Key: HBASE-6678
>                 URL: https://issues.apache.org/jira/browse/HBASE-6678
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.95.2
>            Reporter: Gregory Chanan
>            Priority: Trivial
>              Labels: noob
>
> In TestMergeTool, we pick an "unlikely" port for zookeeper to be on.  Perhaps it would be better if this was a privileged port < 1024.
> {code}
>     // Make it so we try and connect to a zk that is not there (else we might
>     // find a zk ensemble put up by another concurrent test and this will
>     // mess up this test.  Choose unlikely port. Default test port is 21818.
>     // Default zk port is 2181.
>     this.conf.setInt(HConstants.ZOOKEEPER_CLIENT_PORT, 10001);
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)