SteNicholas opened a new pull request, #2106:
URL: https://github.com/apache/incubator-celeborn/pull/2106
### What changes were proposed in this pull request?
Celeborn Flink client validates whether `execution.batch-shuffle-mode` is
`ALL_EXCHANGES_BLOCKING`.
### Why are the changes needed?
The config option `execution.batch-shuffle-mode` of Flink is
`ALL_EXCHANGES_BLOCKING` by default. Celeborn Flink client should validate
whether `execution.batch-shuffle-mode` is `ALL_EXCHANGES_BLOCKING`. If
`execution.batch-shuffle-mode` is set as `ALL_EXCHANGES_PIPELINED`, there is
`NullPointerException` for
`ReducePartitionCommitHandler#handleGetReducerFileGroup`, which exception is as
follows:
```
023-11-16 14:40:55,984 ERROR org.apache.celeborn.common.rpc.netty.Inbox
- Ignoring error
java.lang.NullPointerException: Cannot invoke "java.util.Set.add(Object)"
because the return value of
"java.util.concurrent.ConcurrentHashMap.get(Object)" is null
at
org.apache.celeborn.client.commit.ReducePartitionCommitHandler.handleGetReducerFileGroup(ReducePartitionCommitHandler.scala:307)
at
org.apache.celeborn.client.CommitManager.handleGetReducerFileGroup(CommitManager.scala:266)
at
org.apache.celeborn.client.LifecycleManager.org$apache$celeborn$client$LifecycleManager$$handleGetReducerFileGroup(LifecycleManager.scala:559)
at
org.apache.celeborn.client.LifecycleManager$$anonfun$receiveAndReply$1.applyOrElse(LifecycleManager.scala:297)
at
org.apache.celeborn.common.rpc.netty.Inbox.$anonfun$process$1(Inbox.scala:115)
at
org.apache.celeborn.common.rpc.netty.Inbox.safelyCall(Inbox.scala:222)
at org.apache.celeborn.common.rpc.netty.Inbox.process(Inbox.scala:110)
at
org.apache.celeborn.common.rpc.netty.Dispatcher$MessageLoop.run(Dispatcher.scala:227)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
No.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]