Skip to content

Commit

Permalink
Address comments and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
otterc committed Feb 13, 2024
1 parent 1abebb9 commit d4ecffb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4635,17 +4635,15 @@ object CelebornConf extends Logging {
val WORKER_INTERNAL_PORT: ConfigEntry[Int] =
buildConf("celeborn.worker.internal.port")
.categories("worker")
.doc(
"Internal server port on the Worker where the master nodes connect.")
.doc("Internal server port on the Worker where the master nodes connect.")
.version("0.5.0")
.intConf
.createWithDefault(0)

val WORKER_SECURED_RPC_PORT: ConfigEntry[Int] =
buildConf("celeborn.worker.secured.rpc.port")
.categories("worker", "auth")
.doc(
"Secured port on the Worker where the clients connect.")
.doc("Secured port on the Worker where the clients connect.")
.version("0.5.0")
.intConf
.createWithDefault(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ object ControlMessages extends Logging {
.setPushPort(pushPort)
.setFetchPort(fetchPort)
.setReplicatePort(replicatePort)
.addAllDisks(pbDisks)
.putAllUserResourceConsumption(pbUserResourceConsumption)
.setRequestId(requestId)
.setInternalPort(internalPort)
.setSecuredRpcPort(securedRpcPort)
.setSecuredPushPort(securedPushPort)
.setSecuredFetchPort(securedFetchPort)
.addAllDisks(pbDisks)
.putAllUserResourceConsumption(pbUserResourceConsumption)
.setRequestId(requestId)
.build()
}
}
Expand Down Expand Up @@ -329,11 +329,11 @@ object ControlMessages extends Logging {
.setPushPort(pushPort)
.setFetchPort(fetchPort)
.setReplicatePort(replicatePort)
.setRequestId(requestId)
.setInternalPort(internalPort)
.setSecuredRpcPort(securedRpcPort)
.setSecuredPushPort(securedPushPort)
.setSecuredFetchPort(securedFetchPort)
.setRequestId(requestId)
.build()
}

Expand Down

0 comments on commit d4ecffb

Please sign in to comment.