yihua commented on issue #5975:
URL: https://github.com/apache/hudi/issues/5975#issuecomment-1169059211

   Hi @bithw1 thanks for reporting this.  I created a Jira ticket, HUDI-4339, 
to track the work of improving the docs for `HoodieCleaner`. 
   
   If you want to keep the latest 3 file versions, you need to add these 
specific configs to the properties:
   ```
   hoodie.cleaner.policy=KEEP_LATEST_FILE_VERSIONS
   hoodie.cleaner.fileversions.retained=3
   ```
   https://hudi.apache.org/docs/configurations#hoodiecleanerpolicy
   https://hudi.apache.org/docs/configurations#hoodiecleanerfileversionsretained


-- 
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]

Reply via email to