Hi team , I am getting error while restarting serv...
# troubleshooting
d
Hi team , I am getting error while restarting server after added cluster config to enable v2 engine While starting broker itself , along with broker ,8442 port is starting
Copy code
Sep 19, 2022 10:28:47 PM org.glassfish.grizzly.http.server.NetworkListener start
INFO: Started listener bound to [0.0.0.0:8097]
Sep 19, 2022 10:28:47 PM org.glassfish.grizzly.http.server.HttpServer start
INFO: [HttpServer] Started.
2022/09/19 22:28:49.770 ERROR [StartServiceManagerCommand] [Start a Pinot [SERVER]] Failed to start a Pinot [SERVER] at 6.81 since launch
java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Failed to bind to address 0.0.0.0/0.0.0.0:8442
	at org.apache.pinot.server.worker.WorkerQueryServer.start(WorkerQueryServer.java:94) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.server.starter.ServerInstance.startQueryServer(ServerInstance.java:211) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.server.starter.helix.BaseServerStarter.start(BaseServerStarter.java:576) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.tools.service.PinotServiceManager.startServer(PinotServiceManager.java:167) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.tools.service.PinotServiceManager.startRole(PinotServiceManager.java:97) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.tools.admin.command.StartServiceManagerCommand$1.lambda$run$0(StartServiceManagerCommand.java:278) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.tools.admin.command.StartServiceManagerCommand.startPinotService(StartServiceManagerCommand.java:304) [pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.tools.admin.command.StartServiceManagerCommand$1.run(StartServiceManagerCommand.java:278) [pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
Caused by: java.lang.RuntimeException: java.io.IOException: Failed to bind to address 0.0.0.0/0.0.0.0:8442
	at org.apache.pinot.query.mailbox.channel.GrpcMailboxServer.start(GrpcMailboxServer.java:62) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.query.mailbox.channel.ChannelManager.init(ChannelManager.java:50) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.query.mailbox.GrpcMailboxService.start(GrpcMailboxService.java:65) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.query.runtime.QueryRunner.start(QueryRunner.java:90) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.query.service.QueryServer.start(QueryServer.java:64) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.server.worker.WorkerQueryServer.start(WorkerQueryServer.java:92) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	... 7 more
Caused by: java.io.IOException: Failed to bind to address 0.0.0.0/0.0.0.0:8442
	at io.grpc.netty.shaded.io.grpc.netty.NettyServer.start(NettyServer.java:328) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at io.grpc.internal.ServerImpl.start(ServerImpl.java:183) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at io.grpc.internal.ServerImpl.start(ServerImpl.java:92) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.query.mailbox.channel.GrpcMailboxServer.start(GrpcMailboxServer.java:60) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.query.mailbox.channel.ChannelManager.init(ChannelManager.java:50) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.query.mailbox.GrpcMailboxService.start(GrpcMailboxService.java:65) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.query.runtime.QueryRunner.start(QueryRunner.java:90) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.query.service.QueryServer.start(QueryServer.java:64) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	at org.apache.pinot.server.worker.WorkerQueryServer.start(WorkerQueryServer.java:92) ~[pinot-all-0.12.0-SNAPSHOT-jar-with-dependencies.jar:0.12.0-SNAPSHOT-2d6665b8e5fa0842ef67b3d9896c5e04ecad78e9]
	... 7 more
Caused by: io.grpc.netty.shaded.io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use
m
@Rong R ^^
r
oh. yes you can't run multiple servers on the same host as we dont have a host/port auto-increment feature yet
^ for multistage engine
d
Sry , I didn't get you what I was asking is while restarting all after adding cluster config via swagger , Along with the broker runner port 8442 starts , So that the server is throwing me the error. I am asking why broker and runner port both starts while restarting , before that the ports were running fine Could you get now? @Rong R