hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-6678) TestMergeTool picks unlikely ZK port that could conflict
Date Sun, 08 Jun 2014 21:41:02 GMT

     [ 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)

Mime
View raw message