hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Chanan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-6678) TestMergeTool picks unlikely ZK port that could conflict
Date Tue, 28 Aug 2012 19:31:09 GMT
Gregory Chanan created HBASE-6678:
-------------------------------------

             Summary: 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.96.0
            Reporter: Gregory Chanan
            Priority: Trivial


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message