You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "zncleon (via GitHub)" <gi...@apache.org> on 2026/02/11 08:53:50 UTC

[I] The parallelism of Flink TableMaintenance [iceberg]

zncleon opened a new issue, #15292:
URL: https://github.com/apache/iceberg/issues/15292

   ### Query engine
   
   Iceberg: `1.10`
   Flink: `1.20` 
   
   ### Question
   
   I use flink table maintenance (stream mode) to rewrite data files. I set the parallelism to `8`(same with the num of slots), and I use `maxFileGroupSizeBytes`  to split data files to file groups.
   
   I wish:
   ```
   file_group_1 -> slot_1
   file_group_2 -> slot_2
   ...
   file_group_8 -> slot_8
   ```
   
   but  I get:
   ```
   file_group_1 -> slot_1
   
   after file_group_1 commited
   
   file_group_2 -> slot_2
   ...
   ```
   
   It seems cannot run concurrently. Is this a normal behavior?or just I misunderstand anything?
   
   
   


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] How Flink TableMaintenance work with the parallelism [iceberg]

Posted by "Guosmilesmile (via GitHub)" <gi...@apache.org>.
Guosmilesmile commented on issue #15292:
URL: https://github.com/apache/iceberg/issues/15292#issuecomment-3884238136

   Could you share your configuration parameters, or check the DataFileRewritePlanner logs to see how many RewriteFileGroups are being generated? Normally, the planner should produce multiple RewriteFileGroups and dispatch them to multiple downstream rewrite operators with rebalance. This becomes a parallel workload.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] How Flink TableMaintenance work with the parallelism [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #15292:
URL: https://github.com/apache/iceberg/issues/15292#issuecomment-5433208902

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] How Flink TableMaintenance work with the parallelism [iceberg]

Posted by "zncleon (via GitHub)" <gi...@apache.org>.
zncleon commented on issue #15292:
URL: https://github.com/apache/iceberg/issues/15292#issuecomment-3958806571

   @Guosmilesmile thx for rsp.
   my configuration is 
   ```
   .add(RewriteDataFiles.builder()
           .scheduleOnCommitCount(1)
           .targetFileSizeBytes(512L * 1024 * 1024)
           .deleteFileThreshold(1)
           .partialProgressEnabled(true)
           .partialProgressMaxCommits(20)
           .maxFileGroupSizeBytes(1L * 1024 * 1024 * 1024)
           .maxRewriteBytes(16L * 1024 * 1024 * 1024))
   ```
   it is a separate maintenance job
   
   I check the DataFileRewritePlanner logs. Found only one or not  RewriteFileGroups are begin generated. That is not expected. 
   
   I set `deleteFileThreshold(1)` , and the num of delete file  > the num of data file. I think it reach the threshold `deleteFileThreshold(1)`, but I get not one RewriteFileGroups. It make the delete file keep increasing. 
   
   what is the reason for it?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] How Flink TableMaintenance work with the parallelism [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #15292: How Flink TableMaintenance work with the parallelism
URL: https://github.com/apache/iceberg/issues/15292


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] How Flink TableMaintenance work with the parallelism [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #15292:
URL: https://github.com/apache/iceberg/issues/15292#issuecomment-5627451169

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org