SteNicholas commented on code in PR #12057:
URL: https://github.com/apache/gluten/pull/12057#discussion_r3215923574


##########
gluten-celeborn/src/main/java/org/apache/spark/shuffle/gluten/celeborn/CelebornUtils.java:
##########
@@ -700,4 +700,54 @@ public static void stopFailedShuffleCleaner(Object 
failedShuffleCleaner) {
       throw new RuntimeException(e);
     }
   }
+
+  public static void prepareForMergeData(
+      ShuffleClient shuffleClient, int shuffleId, int mapId, int attemptId) {
+    try {
+      Method prepareMethod =
+          shuffleClient
+              .getClass()
+              .getDeclaredMethod("prepareForMergeData", Integer.TYPE, 
Integer.TYPE, Integer.TYPE);
+      prepareMethod.invoke(shuffleClient, shuffleId, mapId, attemptId);
+    } catch (NoSuchMethodException ignored) {

Review Comment:
   @jackylee-ch, it's unnecessary to log warning for this. This interface is 
removed from 0.6.3. In addtion, other method invokers also do not log warning 
for `NoSuchMethodException`.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to