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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to