otterc commented on code in PR #2367:
URL: 
https://github.com/apache/incubator-celeborn/pull/2367#discussion_r1518462533


##########
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/Worker.scala:
##########
@@ -293,6 +293,9 @@ private[celeborn] class Worker(
 
   private val masterClient = new MasterClient(internalRpcEnvInUse, conf, true)
 
+  private val rackResolver = new CelebornRackResolver(conf)
+  private val networkLocation = rackResolver.resolve(host).getNetworkLocation

Review Comment:
   Are we making the assumption here that the `DNSToSwitchMapping` 
implementation is present on all the Worker nodes? Earlier this was needed only 
on the on the Master node. In existing production environment, if this is not 
present on the worker nodes, this will thrown an exception.



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