yl09099 commented on code in PR #2653:
URL: https://github.com/apache/uniffle/pull/2653#discussion_r2465475605


##########
client-spark/spark3/src/main/java/org/apache/spark/shuffle/writer/RssShuffleWriter.java:
##########
@@ -933,14 +949,12 @@ public Option<MapStatus> stop(boolean success) {
             bitmapSplitNum,
             reportDuration);
         
shuffleWriteMetrics.incWriteTime(TimeUnit.MILLISECONDS.toNanos(reportDuration));
+
         // todo: we can replace the dummy host and port with the real shuffle 
server which we prefer
         // to read
         final BlockManagerId blockManagerId =
             BlockManagerId.apply(
-                appId + "_" + taskId,
-                DUMMY_HOST,
-                DUMMY_PORT,
-                Option.apply(Long.toString(taskAttemptId)));
+                appId + "_" + taskId, DUMMY_HOST, DUMMY_PORT, 
Option.apply(createShuffleInfo()));

Review Comment:
   Would it be better to send this data to ShuffleServer? This can easily cause 
an OOM of the Driver.



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