akpatnam25 commented on code in PR #2367: URL: https://github.com/apache/incubator-celeborn/pull/2367#discussion_r1519206698
########## 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: CelebornRackResolver specifies `ScriptBasedMapping` as a default value that is returned ([code](https://github.com/apache/incubator-celeborn/blob/main/master/src/main/scala/org/apache/celeborn/service/deploy/master/network/CelebornRackResolver.scala#L47)), so I don't think it would throw an exception if an impl is not provided by the user. -- 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]
