Oozie job won't run if using PySpark in SparkAction

后端 未结 4 2081
陌清茗
陌清茗 2021-02-11 09:21

I\'ve encountered several examples of SparkAction jobs in Oozie, and most of them are in Java. I edit a little and run the example in Cloudera CDH Quickstart 5.4.0 (with Spark v

4条回答
  •  有刺的猬
    2021-02-11 09:49

    We were getting same error. If you try to drop spark-assembly jar from '/path/to/spark-install/lib/spark-assembly*.jar' (depends upon distribution) to your oozie.wf.application.path/lib dir along side your application jar it should work.

提交回复
热议问题