MOBIN-F opened a new pull request, #4029:
URL: https://github.com/apache/flink-cdc/pull/4029
pipeline.yml
```
source:
sink:
type: paimon
name: Paimon Sink
catalog.properties.metastore: hive
catalog.properties.uri: thrift://test:9083
catalog.properties.warehouse: hdfs://test/warehouse/
table.properties.metastore.partitioned-table: true
```
The metastore.partitioned-table parameter of paimon will store partition
information in the state and trigger updates to HMS periodically. When the user
turns on this parameter, NEP exception will occur because the
OperatorStateStore is not correctly passed in Committer.createContext.
```
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.paimon.flink.sink.StoreCommitter.<init>(StoreCommitter.java:63)
at
org.apache.paimon.flink.sink.StoreMultiCommitter.getStoreCommitter(StoreMultiCommitter.java:204)
at java.util.HashMap$KeySet.forEach(HashMap.java:928)
at
org.apache.paimon.flink.sink.StoreMultiCommitter.commit(StoreMultiCommitter.java:128)
at
org.apache.flink.cdc.connectors.paimon.sink.v2.PreCommitOperator.snapshotState(PreCommitOperator.java:116)
at
org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.snapshotState(StreamOperatorStateHandler.java:234)
... 33 more
Caused by: java.lang.NullPointerException
at
org.apache.paimon.flink.sink.partition.ReportPartStatsListener.<init>(ReportPartStatsListener.java:75)
at
org.apache.paimon.flink.sink.partition.ReportPartStatsListener.create(ReportPartStatsListener.java:180)
at
org.apache.paimon.flink.sink.partition.PartitionListeners.create(PartitionListeners.java:62)
at
org.apache.paimon.flink.sink.StoreCommitter.<init>(StoreCommitter.java:61)
... 38 more
```
--
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]