nsivabalan commented on issue #6903:
URL: https://github.com/apache/hudi/issues/6903#issuecomment-1283320289

   found time to reproduce. 
   we need to do it in 2 commands. 
   1: schedule
   2: execute
   
   
   sample commands I used
   1. to schedule
   ```
   ./bin/spark-submit  --class org.apache.hudi.utilities.HoodieCompactor 
~/Documents/personal/projects/apache_hudi_dec/hudi/packaging/hudi-utilities-bundle/target/hudi-utilities-bundle_2.11-0.10.1.jar
  --base-path "/tmp/hudi_trips_cow" --table-name "hudi_trips_cow" --schema-file 
"/tmp/compact.avsc"  --strategy 
"org.apache.hudi.table.action.compact.strategy.LogFileSizeBasedCompactionStrategy"
 --instant-time "20221018192633991"  --spark-memory 1g --parallelism 2 
--schedule --hoodie-conf "hoodie.compact.inline.max.delta.commits=2"
   ```
   
   configs of interest
   ```
   --schedule --hoodie-conf "hoodie.compact.inline.max.delta.commits=2"
   ```
   
   2. to execute 
   ```
   ./bin/spark-submit  --class org.apache.hudi.utilities.HoodieCompactor 
~/Documents/personal/projects/apache_hudi_dec/hudi/packaging/hudi-utilities-bundle/target/hudi-utilities-bundle_2.11-0.10.1.jar
  --base-path "/tmp/hudi_trips_cow" --table-name "hudi_trips_cow" --schema-file 
"/tmp/compact.avsc"  --strategy 
"org.apache.hudi.table.action.compact.strategy.LogFileSizeBasedCompactionStrategy"
 --instant-time "20221018192633991"  --spark-memory 1g --parallelism 2
   ```


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