This is an automated email from the ASF dual-hosted git repository.
SteNicholas pushed a commit to branch branch-0.7
in repository https://gitbox.apache.org/repos/asf/celeborn.git
The following commit(s) were added to refs/heads/branch-0.7 by this push:
new 46422a68c8 [CELEBORN-2548] Fix branch-0.7 Master compilation after RPC
authorization backport
46422a68c8 is described below
commit 46422a68c872580e832c33fa0dad046730c83ded
Author: zhengtao <[email protected]>
AuthorDate: Sat Nov 14 20:21:02 2026 +0800
[CELEBORN-2548] Fix branch-0.7 Master compilation after RPC authorization
backport
### What changes were proposed in this pull request?
Remove `classOf[PbRequestWorkers]` from the Master external RPC allowlist
on `branch-0.7`.
JIRA: https://issues.apache.org/jira/browse/CELEBORN-2548
### Why are the changes needed?
The #3945 backport (`7be6d0f642d750afabfa9e114f6a1328f2f150cd`,
CELEBORN-2539) included this allowlist entry from main. `PbRequestWorkers` was
introduced by #3775 on main; `branch-0.7` has neither the protobuf definition
nor the corresponding handler.
As a result, building Master on `branch-0.7` fails before tests can run:
```text
Master.scala:1666: not found: type PbRequestWorkers
```
This branch-specific fix removes the unavailable RPC type. The remaining
allowlist entries and authorization checks stay unchanged.
### Does this PR resolve a correctness bug?
- [x] Yes
### Does this PR introduce _any_ user-facing change?
- [ ] Yes
Restores source compilation on `branch-0.7`. No runtime, configuration, or
wire-protocol changes.
### How was this patch tested?
On JDK 17:
- `dev/reformat`: all 16 formatter invocations passed; the diff remains one
deleted line.
- Master and its dependencies compiled successfully. All 21 tests in
`MasterRpcAuthorizationSuite`, `MasterApplicationMetaAuthSuite`, and
`MasterSuite` passed with:
```bash
build/mvn -B -ntp -pl master -am test \
-Dtest=none \
-Dsurefire.failIfNoSpecifiedTests=false \
-DwildcardSuites=org.apache.celeborn.service.deploy.master.MasterRpcAuthorizationSuite,org.apache.celeborn.service.deploy.master.MasterApplicationMetaAuthSuite,org.apache.celeborn.service.deploy.master.MasterSuite
```
Closes #3960 from zaynt4606/fix/branch-0.7-master-allowlist.
Authored-by: zhengtao <[email protected]>
Signed-off-by: Nicholas Jiang <[email protected]>
---
.../main/scala/org/apache/celeborn/service/deploy/master/Master.scala | 1 -
1 file changed, 1 deletion(-)
diff --git
a/master/src/main/scala/org/apache/celeborn/service/deploy/master/Master.scala
b/master/src/main/scala/org/apache/celeborn/service/deploy/master/Master.scala
index 6ab88ecec7..8fd9cd67ac 100644
---
a/master/src/main/scala/org/apache/celeborn/service/deploy/master/Master.scala
+++
b/master/src/main/scala/org/apache/celeborn/service/deploy/master/Master.scala
@@ -1663,7 +1663,6 @@ private[deploy] object Master extends Logging {
classOf[RegisterApplicationInfo],
classOf[HeartbeatFromApplication],
classOf[RequestSlots],
- classOf[PbRequestWorkers],
classOf[PbBatchUnregisterShuffles],
classOf[PbUnregisterShuffle],
classOf[ApplicationLost],