This is an automated email from the ASF dual-hosted git repository.

ethanfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new 6bd0cfe2f9 [CELEBORN-1720][FOLLOWUP] Fix compilation error of 
CelebornTezReader for ShuffleClient#readPartition
6bd0cfe2f9 is described below

commit 6bd0cfe2f934993ecd6b2fce4ff60b25d32e4c1d
Author: SteNicholas <[email protected]>
AuthorDate: Mon Jan 20 17:41:37 2025 +0800

    [CELEBORN-1720][FOLLOWUP] Fix compilation error of CelebornTezReader for 
ShuffleClient#readPartition
    
    ### What changes were proposed in this pull request?
    
    Fix compilation error of `CelebornTezReader` for 
`ShuffleClient#readPartition`.
    
    ### Why are the changes needed?
    
    There is a compilation error in `CelebornTezReader` for 
`ShuffleClient#readPartition`, which is as follows:
    
    ```
    Error:  
/home/runner/work/celeborn/celeborn/client-tez/tez/src/main/java/org/apache/celeborn/client/CelebornTezReader.java:57:21:
  error: no suitable method found for 
readPartition(int,int,int,int,int,MetricsCallback)
    ```
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    CI.
    
    Closes #3073 from SteNicholas/CELEBORN-1720.
    
    Authored-by: SteNicholas <[email protected]>
    Signed-off-by: mingji <[email protected]>
---
 .../tez/src/main/java/org/apache/celeborn/client/CelebornTezReader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/client-tez/tez/src/main/java/org/apache/celeborn/client/CelebornTezReader.java
 
b/client-tez/tez/src/main/java/org/apache/celeborn/client/CelebornTezReader.java
index 47af6e4656..42451ef6a3 100644
--- 
a/client-tez/tez/src/main/java/org/apache/celeborn/client/CelebornTezReader.java
+++ 
b/client-tez/tez/src/main/java/org/apache/celeborn/client/CelebornTezReader.java
@@ -55,7 +55,7 @@ public class CelebornTezReader {
         };
     celebornInputStream =
         shuffleClient.readPartition(
-            shuffleId, partitionId, attemptNumber, 0, Integer.MAX_VALUE, 
metricsCallback);
+            shuffleId, partitionId, attemptNumber, 0, 0, Integer.MAX_VALUE, 
metricsCallback);
   }
 
   public byte[] getShuffleBlock() throws IOException {

Reply via email to