You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "cxzl25 (via GitHub)" <gi...@apache.org> on 2025/06/03 09:43:10 UTC
[PR] [CELEBORN-2023] Spark4 Client incompatible with isLocalMaster method [celeborn]
cxzl25 opened a new pull request, #3305:
URL: https://github.com/apache/celeborn/pull/3305
### What changes were proposed in this pull request?
### Why are the changes needed?
```java
Exception in thread "main" java.lang.NoSuchMethodError: 'boolean org.apache.spark.util.Utils.isLocalMaster(org.apache.spark.SparkConf)'
at org.apache.spark.shuffle.celeborn.SparkShuffleManager.executorCores(SparkShuffleManager.java:464)
at org.apache.spark.shuffle.celeborn.SparkShuffleManager.<init>(SparkShuffleManager.java:117)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:75)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:53)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.apache.spark.util.Utils$.instantiateSerializerOrShuffleManager(Utils.scala:2584)
at org.apache.spark.shuffle.ShuffleManager$.create(ShuffleManager.scala:108)
at org.apache.spark.SparkEnv.initializeShuffleManager(SparkEnv.scala:226)
at org.apache.spark.SparkContext.<init>(SparkContext.scala:589)
at org.apache.spark.SparkContext$.getOrCreate(SparkContext.scala:3055
```
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
local test
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-2023] Spark4 Client incompatible with isLocalMaster method [celeborn]
Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on code in PR #3305:
URL: https://github.com/apache/celeborn/pull/3305#discussion_r2123316713
##########
client-spark/spark-3/src/main/java/org/apache/spark/shuffle/celeborn/SparkUtils.java:
##########
@@ -633,4 +633,16 @@ public static void removeCleanedShuffleId(
SparkShuffleManager sparkShuffleManager, int celebornShuffleId) {
sparkShuffleManager.getFailedShuffleCleaner().removeCleanedShuffleId(celebornShuffleId);
}
+
+ /**
+ * org.apache.spark.util.Utils.isLocalMaster
+ *
+ * <p>Note: code copied from Apache Spark.
+ *
+ * <p>SPARK-50515
+ */
Review Comment:
```suggestion
// Replica of Spark's `org.apache.spark.util.Utils.isLocalMaster`,
// due to SPARK-50515(4.0.0) changes the method signature.
```
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-2023] Spark4 Client incompatible with isLocalMaster method [celeborn]
Posted by "SteNicholas (via GitHub)" <gi...@apache.org>.
SteNicholas commented on PR #3305:
URL: https://github.com/apache/celeborn/pull/3305#issuecomment-2935018781
Thanks. Merged to main(v0.7.0) and branch-0.6(0.6.0).
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-2023] Spark4 Client incompatible with isLocalMaster method [celeborn]
Posted by "SteNicholas (via GitHub)" <gi...@apache.org>.
SteNicholas closed pull request #3305: [CELEBORN-2023] Spark4 Client incompatible with isLocalMaster method
URL: https://github.com/apache/celeborn/pull/3305
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org