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/12/30 07:24:06 UTC

[GitHub] [hudi] yihua commented on issue #7562: [SUPPORT] How to Fire Async Compaction on Pyspark

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

   @soumilshah1995 Thanks for raising the question.  `HoodieCompactor` is a Java class and the command-line arguments for spark-submit are parsed using JCommander, which is not compatible with PySpark.  One way to get around this is to call Java class in Python like [this](https://stackoverflow.com/questions/33544105/running-custom-java-class-in-pyspark), but then you have to construct `HoodieCompactor.Config` yourself to pass in relevant args.


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