[
https://issues.apache.org/jira/browse/HBASE-6678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443460#comment-13443460
]
stack commented on HBASE-6678:
------------------------------
Or disable this test? The MergeTool may have been of use one time way back but
I'm sceptical its used at all these times?
Can a non-root user start a process on < 1024?
> 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
> 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 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