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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to