ndimiduk commented on pull request #4177:
URL: https://github.com/apache/hbase/pull/4177#issuecomment-1062833418


   I'm not sure what to make of the test failure in [precommit checks / yetus 
jdk11 hadoop3 checks / 
testResolvePortConflict](https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4177/2/testReport/org.apache.hadoop.hbase/TestHBaseTestingUtil/precommit_checks___yetus_jdk11_hadoop3_checks___testResolvePortConflict/).
 ZK resulted in a port conflict.
   
   ```
   2022-03-09T03:28:29,071 DEBUG [Time-limited test] 
zookeeper.MiniZooKeeperCluster(249): Failed binding ZK Server to client port: 
5556
   java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
        at sun.nio.ch.Net.bind(Net.java:455) ~[?:?]
        at sun.nio.ch.Net.bind(Net.java:447) ~[?:?]
        at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?]
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) 
~[?:?]
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:73) 
~[?:?]
        at 
org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:687)
 ~[zookeeper-3.5.7.jar:3.5.7]
        at 
org.apache.zookeeper.server.ServerCnxnFactory.configure(ServerCnxnFactory.java:76)
 ~[zookeeper-3.5.7.jar:3.5.7]
        at 
org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster.startup(MiniZooKeeperCluster.java:245)
 ~[hbase-zookeeper-3.0.0-alpha-3-SNAPSHOT.jar:3.0.0-alpha-3-SNAPSHOT]
        at 
org.apache.hadoop.hbase.HBaseZKTestingUtil.startMiniZKCluster(HBaseZKTestingUtil.java:131)
 ~[hbase-zookeeper-3.0.0-alpha-3-SNAPSHOT-tests.jar:?]
        at 
org.apache.hadoop.hbase.HBaseZKTestingUtil.startMiniZKCluster(HBaseZKTestingUtil.java:104)
 ~[hbase-zookeeper-3.0.0-alpha-3-SNAPSHOT-tests.jar:?]
        at 
org.apache.hadoop.hbase.TestHBaseTestingUtil.testMiniZooKeeperWithMultipleClientPorts(TestHBaseTestingUtil.java:364)
 ~[test-classes/:?]
   ```
   
   Is this somehow related to my conf customization in 
`TestApiV1ClusterMetricsResource` ? The configuration object it overrides is an 
instance variable managed in the tests's instance of `HBaseTestingUtil`...
   
   Ideas @busbey ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to