dongjoon-hyun commented on code in PR #36984:
URL: https://github.com/apache/spark/pull/36984#discussion_r906611419


##########
common/network-common/src/main/java/org/apache/spark/network/server/TransportServer.java:
##########
@@ -149,8 +149,9 @@ protected void initChannel(SocketChannel ch) {
     channelFuture = bootstrap.bind(address);
     channelFuture.syncUninterruptibly();
 
-    port = ((InetSocketAddress) 
channelFuture.channel().localAddress()).getPort();
-    logger.debug("Shuffle server started on port: {}", port);
+    InetSocketAddress localAddress = (InetSocketAddress) 
channelFuture.channel().localAddress();
+    port = localAddress.getPort();
+    logger.debug("Shuffle server started on {} with port {}", 
localAddress.getHostString(), port);

Review Comment:
   New logs look like the following.
   ```
   TransportServer: Shuffle server started on 0:0:0:0:0:0:0:0 with port 54193
   ```



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to