pengxianzi commented on issue #12585:
URL: https://github.com/apache/hudi/issues/12585#issuecomment-2591441645
@danny0405
In general, when one or two parquet files are empty, an error will occur.
I understand that you have already done a good job of checking the
incremental reading of files. After carefully reviewing the configuration file,
I found that the following two parameters may be causing the conflict:
options.put("read.streaming.skip_clustering", "true");
options.put("read.streaming.skip_compaction", "true");
After commenting these out, the process runs normally for a period of time.
However, if the upstream completely overwrites the parquet files, it still
throws an error saying that the parquet files cannot be found.
Here are my current configuration parameters:
Map<String, String> options = new HashMap<>();
options.put(FlinkOptions.PATH.key(), basePath + tableName);
options.put(FlinkOptions.TABLE_TYPE.key(), name);
options.put(FlinkOptions.READ_AS_STREAMING.key(), "true");
options.put(FlinkOptions.PRECOMBINE_FIELD.key(), precombing);
options.put(FlinkOptions.READ_START_COMMIT.key(), "earliest");
options.put(FlinkOptions.READ_STREAMING_CHECK_INTERVAL.key(), "600000");
options.put("read.tasks", "5");
options.put("hoodie.datasource.merge.type", "skip_merge");
options.put("hoodie.filesystem.operation.retry.enable", "true");
The specific error message is as follows:
[error.txt](https://github.com/user-attachments/files/18417823/error.txt)
I look forward to your reply.Let me know if you need further adjustments!
--
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]