You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by GitBox <gi...@apache.org> on 2022/12/08 03:10:49 UTC

[GitHub] [incubator-celeborn] waitinfuture commented on a diff in pull request #1036: [CELEBORN-11] ShuffleClient supports MapPartition shuffle write:pushdata

waitinfuture commented on code in PR #1036:
URL: https://github.com/apache/incubator-celeborn/pull/1036#discussion_r1042881207


##########
client/src/main/java/org/apache/celeborn/client/ShuffleClient.java:
##########
@@ -175,6 +177,20 @@ public abstract RssInputStream readPartition(
 
   public abstract void shutDown();
 
+  // Write data to a specific map partition, input data's type is Bytebuf.
+  // data's type is Bytebuf to avoid copy between application and netty
+  // closecallback will do some clean opertions like memory release.
+  public abstract int pushData(

Review Comment:
   Better to rename to pushDataToLocation



##########
client/src/main/java/org/apache/celeborn/client/ShuffleClientImpl.java:
##########
@@ -604,7 +608,6 @@ public void onSuccess(ByteBuffer response) {
                     .computeIfAbsent(shuffleId, (id) -> ConcurrentHashMap.newKeySet())
                     .add(mapKey);
               }
-              pushState.removeFuture(nextBatchId);

Review Comment:
   why delete this line?



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