xleoken opened a new pull request, #2008:
URL: https://github.com/apache/incubator-celeborn/pull/2008

   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     - Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] 
Your PR title ...'.
     - Be sure to keep the PR description updated to reflect all changes.
     - Please write your PR title to summarize what this PR proposes.
     - If possible, provide a concise example to reproduce the issue for a 
faster review.
   -->
   
   ### What changes were proposed in this pull request?
   
   When startup a ha celeborn cluster, will met java.net.BindException if copy 
the default template conf file. The reson is the port of master's http port 
conflicts with the port of ratis service.
   
   It's better to keep these http ports are same `9097`
   
   ```
   17:53:24.417 [main] ERROR org.apache.celeborn.service.deploy.master.Master - 
Initialize master failed.
   java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_371]
        at sun.nio.ch.Net.bind(Net.java:438) ~[?:1.8.0_371]
        at sun.nio.ch.Net.bind(Net.java:430) ~[?:1.8.0_371]
        at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:225) 
~[?:1.8.0_371]
        at 
io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:141)
 ~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562) 
~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334)
 ~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:600)
 ~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:579)
 ~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.handler.logging.LoggingHandler.bind(LoggingHandler.java:230) 
~[netty-handler-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:602)
 ~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:579)
 ~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973) 
~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:260) 
~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356) 
~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
 ~[netty-common-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
 ~[netty-common-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
 ~[netty-common-4.1.93.Final.jar:4.1.93.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) 
~[netty-transport-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
 ~[netty-common-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) 
~[netty-common-4.1.93.Final.jar:4.1.93.Final]
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 ~[netty-common-4.1.93.Final.jar:4.1.93.Final]
        at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_371]
   
   ```
   
   ### Why are the changes needed?
   
   After patch, will friendly for new players.
   
   ### How was this patch tested?
   
   local test.


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