[ https://issues.apache.org/jira/browse/AMBARI-25781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17635604#comment-17635604 ]
Lei Yao commented on AMBARI-25781: ---------------------------------- https://zookeeper.apache.org/doc/r3.5.0-alpha/zookeeperAdmin.html#sc_adminserver_config > Zookeeper AdminServer try to start at port 8080 that may conflicts with > ambari server > -------------------------------------------------------------------------------------- > > Key: AMBARI-25781 > URL: https://issues.apache.org/jira/browse/AMBARI-25781 > Project: Ambari > Issue Type: Bug > Reporter: Lei Yao > Assignee: Yuping Fan > Priority: Major > Fix For: 2.8.0 > > > Zookeeper adminserver may conflicts with ambari server at port 8080 if they > are deployed at the same host > {code:java} > 2022-11-17 19:28:47,238 - WARN [main:QuorumPeer@895] - Problem starting > AdminServer > org.apache.zookeeper.server.admin.AdminServer$AdminServerException: Problem > starting AdminServer on address 0.0.0.0, port 8080 and command URL /commands > at > org.apache.zookeeper.server.admin.JettyAdminServer.start(JettyAdminServer.java:111) > at > org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:893) > at > org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:205) > at > org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:123) > at > org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:82) > Caused by: java.io.IOException: Failed to bind to /0.0.0.0:8080 > at > org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) > at > org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) > at > org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) > at > org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) > at org.eclipse.jetty.server.Server.doStart(Server.java:401) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) > at > org.apache.zookeeper.server.admin.JettyAdminServer.start(JettyAdminServer.java:107) > ... 4 more > Caused by: java.net.BindException: Address already in use > at sun.nio.ch.Net.bind0(Native Method) > at sun.nio.ch.Net.bind(Net.java:461) > at sun.nio.ch.Net.bind(Net.java:453) > at > sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222) > at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85) > at > org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:345) > ... 11 more > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org For additional commands, e-mail: issues-h...@ambari.apache.org