You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celeborn.apache.org by re...@apache.org on 2023/03/29 02:23:55 UTC
[incubator-celeborn] 40/42: [FLINK] [FLOLLOW UP] support adaptive scheduler Link: https://code.alibaba-inc.com/soe/celeborn/codereview/12088981
This is an automated email from the ASF dual-hosted git repository.
rexxiong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
commit 8ab0769f5daa3df3ebf678e42a2688304b70d12b
Author: zhongqiang.czq <zh...@alibaba-inc.com>
AuthorDate: Wed Mar 22 21:03:01 2023 +0800
[FLINK] [FLOLLOW UP] support adaptive scheduler
Link: https://code.alibaba-inc.com/soe/celeborn/codereview/12088981
---
.../java/org/apache/celeborn/plugin/flink/RemoteShuffleInputGate.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/client-flink/flink-1.14/src/main/java/org/apache/celeborn/plugin/flink/RemoteShuffleInputGate.java b/client-flink/flink-1.14/src/main/java/org/apache/celeborn/plugin/flink/RemoteShuffleInputGate.java
index 144e53de1..9dc97edfa 100644
--- a/client-flink/flink-1.14/src/main/java/org/apache/celeborn/plugin/flink/RemoteShuffleInputGate.java
+++ b/client-flink/flink-1.14/src/main/java/org/apache/celeborn/plugin/flink/RemoteShuffleInputGate.java
@@ -170,8 +170,8 @@ public class RemoteShuffleInputGate extends IndexedInputGate {
}
private long initShuffleReadClients() {
- int startSubIdx = gateDescriptor.getConsumedSubpartitionIndexRange().getStartIndex()();
- int endSubIdx = gateDescriptor.getConsumedSubpartitionIndexRange().getEndIndex();
+ int startSubIdx = gateDescriptor.getConsumedSubpartitionIndex();
+ int endSubIdx = gateDescriptor.getConsumedSubpartitionIndex();
int numSubpartitionsPerChannel = endSubIdx - startSubIdx + 1;
long numUnconsumedSubpartitions = 0;