File tree Expand file tree Collapse file tree
worker/src/main/scala/org/apache/celeborn/service/deploy/worker Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,9 +148,7 @@ class FetchHandler(
148148 val endIndices = openStreamList.getEndIndexList
149149 val readLocalFlags = openStreamList.getReadLocalShuffleList
150150 val pbOpenStreamListResponse = PbOpenStreamListResponse .newBuilder()
151- val applicationId = Utils .splitShuffleKey(shuffleKey)._1
152- Utils .validateAppId(applicationId)
153- checkAuth(client, applicationId)
151+ checkAuth(client, Utils .splitShuffleKey(shuffleKey)._1)
154152 val openStreamRequestId = Utils .makeOpenStreamRequestId(
155153 shuffleKey,
156154 client.getChannel.id().toString,
@@ -366,9 +364,7 @@ class FetchHandler(
366364 isLegacy : Boolean ,
367365 readLocalShuffle : Boolean = false ,
368366 callback : RpcResponseCallback ): Unit = {
369- val applicationId = Utils .splitShuffleKey(shuffleKey)._1
370- Utils .validateAppId(applicationId)
371- checkAuth(client, applicationId)
367+ checkAuth(client, Utils .splitShuffleKey(shuffleKey)._1)
372368 workerSource.recordAppActiveConnection(client, shuffleKey)
373369 val requestId = Utils .makeOpenStreamRequestId(
374370 shuffleKey,
Original file line number Diff line number Diff line change @@ -988,9 +988,7 @@ class PushDataHandler(val workerSource: WorkerSource) extends BaseMessageHandler
988988 shuffleKey : String ,
989989 handler : () => Unit ,
990990 callback : RpcResponseCallback ): Unit = {
991- val applicationId = Utils .splitShuffleKey(shuffleKey)._1
992- Utils .validateAppId(applicationId)
993- checkAuth(client, applicationId)
991+ checkAuth(client, Utils .splitShuffleKey(shuffleKey)._1)
994992 try {
995993 handler()
996994 } catch {
You can’t perform that action at this time.
0 commit comments