jkl0898 commented on issue #8630:
URL: https://github.com/apache/hudi/issues/8630#issuecomment-1534370645
> Hi, did you enable the checkpoint yet?
Hi, we added these checkpoints's config to flink-conf.yaml then restart
flink-cluster, but get the same errors
```
# flink checkpoints
execution.checkpointing.interval: 5000
execution.checkpointing.mode: EXACTLY_ONCE
state.backend: filesystem
state.checkpoints.dir: hdfs:///flink/checkpoints
state.savepoints.dir: hdfs:///flink/savepoints
execution.checkpointing.timeout: 600000
execution.checkpointing.min-pause: 500
execution.checkpointing.max-concurrent-checkpoints: 1
state.checkpoints.num-retained: 3
execution.checkpointing.externalized-checkpoint-retention:
RETAIN_ON_CANCELLATION
```
Create table command:
```
CREATE TABLE t1(
uuid VARCHAR(20) PRIMARY KEY NOT ENFORCED,
name VARCHAR(10),
age INT,
ts TIMESTAMP(3),
`partition` VARCHAR(20)
)
PARTITIONED BY (`partition`)
WITH (
'connector' = 'hudi',
'path' = 'hdfs:///flink/hudi_test',
'table.type' = 'MERGE_ON_READ' -- this creates a MERGE_ON_READ table, by
default is COPY_ON_WRITE
);
```
When select from 1t, sql-client return errors:
```
[ERROR] Could not execute SQL statement. Reason:
java.io.FileNotFoundException: File does not exist:
hdfs:/flink/hudi_test/.hoodie
```
--
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]