You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/10/10 23:37:45 UTC

[GitHub] [hudi] nsivabalan commented on issue #6903: Offline compaction scheduling not working

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

   likely the issue is, placement of `--jars`
   
   ```
   spark-submit --class org.apache.hudi.utilities.HoodieCompactor --jars /usr/lib/hudi/hudi-spark3-bundle_2.12-0.10.1-amzn-0.jar /usr/lib/hudi/hudi-utilities-bundle_2.12-0.10.1-amzn-0.jar
   ```
   
   any spark options should preced the class name and app jar 
   
   ```
   spark-submit --jars /usr/lib/hudi/hudi-spark3-bundle_2.12-0.10.1-amzn-0.jar --class org.apache.hudi.utilities.HoodieCompactor /usr/lib/hudi/hudi-utilities-bundle_2.12-0.10.1-amzn-0.jar
   ```
   
   also, utilties bundle includes spark. so you don't even need spark bundle to be passed in. 
   


-- 
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: commits-unsubscribe@hudi.apache.org

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