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


##########
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:
   In the first implementation, this will be stored into the driver. From my 
side, this data structure is very simple like the partition length did.



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