wuhainan commented on issue #13453: URL: https://github.com/apache/seatunnel/issues/13453#issuecomment-7181525651
@SEZ9 Thanks for the follow-up. I ran two more tests on Flink 1.20 with Hive sink parallelism set to 10 and compared them with a control run at Hive sink parallelism 1. | Run | Hive sink parallelism | SeaTunnel read count | SeaTunnel write count | Hive partition row count | Missing rows | | --- | ---: | ---: | ---: | ---: | ---: | | Latest parallel rerun | 10 | 172,742,553 | 172,742,553 | 27,035,174 | 145,707,379 | | Earlier parallel rerun | 10 | 172,742,553 | 172,742,553 | 52,032,175 | 120,710,378 | | Single-committer control | 1 | 172,742,553 | 172,742,553 | 172,742,553 | 0 | All three runs used the same source snapshot and target Hive partition, with source parallelism set to 10 and `data_save_mode = "DROP_DATA"`. YARN reported `SUCCEEDED` for all three. The missing row count varied between the two parallel runs, at 84.35% in the latest run and 69.88% in the earlier run. For the single-committer control, the Hive `COUNT(*)` matched the source read count. In the earlier parallel rerun, all 10 committers logged `Deleted partition directory` for the same OBS directory. The excerpts below show one committer publishing a file before another clears the same directory. Timestamps are UTC+08:00. Paths and file names are redacted. ```text 10:22:25,811 | INFO | Committer (10/10) | rename file: [<STAGING>/file-a.parquet] to [<TARGET_PARTITION>/file-a.parquet] finish 10:22:27,422 | INFO | Committer (1/10) | Deleted partition directory: <TARGET_PARTITION> 10:22:27,506 | INFO | Committer (1/10) | rename file: [<STAGING>/file-b.parquet] to [<TARGET_PARTITION>/file-b.parquet] finish 10:23:02,285 | INFO | Committer (2/10) | Deleted partition directory: <TARGET_PARTITION> 10:23:02,368 | INFO | Committer (2/10) | rename file: [<STAGING>/file-c.parquet] to [<TARGET_PARTITION>/file-c.parquet] finish ``` The files are Parquet on OBS. The runtime uses Hive client 3.1.0. The Hive Metastore server version is pending verification. Zeta has not been tested. -- 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]
