Github user mridulm commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19788#discussion_r158124569
  
    --- Diff: 
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalShuffleBlockResolver.java
 ---
    @@ -165,13 +165,23 @@ public ManagedBuffer getBlockData(
           String execId,
           int shuffleId,
           int mapId,
    -      int reduceId) {
    +      int reduceId,
    +      int length) {
         ExecutorShuffleInfo executor = executors.get(new AppExecId(appId, 
execId));
         if (executor == null) {
           throw new RuntimeException(
             String.format("Executor is not registered (appId=%s, execId=%s)", 
appId, execId));
         }
    -    return getSortBasedShuffleBlockData(executor, shuffleId, mapId, 
reduceId);
    +    return getSortBasedShuffleBlockData(executor, shuffleId, mapId, 
reduceId, length);
    +  }
    +
    +  public ManagedBuffer getBlockData(
    +          String appId,
    +          String execId,
    +          int shuffleId,
    +          int mapId,
    +          int reduceId) {
    --- End diff --
    
    Remove this method ? We dont need it anymore


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to