Skip to content

Commit

Permalink
fix compile error with spark3.2.0 (apache#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
waitinfuture authored and FMX committed Jan 19, 2022
1 parent 19c3086 commit a897e49
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,5 +361,10 @@ public Option<MapStatus> stop(boolean success) {
essShuffleClient.cleanup(appId, shuffleId, mapId, taskContext.attemptNumber());
}
}

public long[] getPartitionLengths() {
throw new UnsupportedOperationException(
"RSS is not compatible with Spark push mode, please set spark.shuffle.push.enabled to false");
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,10 @@ public Option<MapStatus> stop(boolean success) {
essShuffleClient.cleanup(appId, shuffleId, mapId, taskContext.attemptNumber());
}
}

public long[] getPartitionLengths() {
throw new UnsupportedOperationException(
"RSS is not compatible with Spark push mode, please set spark.shuffle.push.enabled to false");
}
}

0 comments on commit a897e49

Please sign in to comment.