Created on 08-24-2017 08:58 PM - edited 09-16-2022 05:08 AM
I am trying to run the Spark action in Oozie with spark .jar
Provided below values in Hue Oozie Spark action,
Jar/py Name: solution.jar
Main Class: Module.final_solution
Files: /user/hadoop/solution/solution.jar
Below are the properties:
Spark Master: yarn-master
Mode: Cluster
App Name: Final Solution
Getting below error while running Oozie action with above configurations,
Same jar working fine from Edge node with Spark submit.
Any help appriciated.
Created on 09-25-2017 02:06 PM - edited 09-25-2017 02:09 PM
Sorry, could not focus on this, was busy with production activities.
Finally, I could able to run it successfully with below configurations,
Jar / py name : ${nameNode}/user/solution.jar
Main Class : Module.final_solution
Options List : --conf spark.yarn.jar=local:/opt/cloudera/parcels/CDH/lib/spark/lib/spark-assembly.jar
Properties:
Spark Master : yarn
Mode : cluster
App name : Final Solution
Created 08-28-2017 05:17 AM
This looks like Hue might be having problems communicating with Yarn. Have you tried submitting the job.properties from the Edge node using
oozie job -submit
?
Is hue able to submit a hello-world oozie job and monitor it? Are you able to submit other jobs via Hue (Hive/pig, etc)?
Created 09-01-2017 06:33 AM
Yes, other jobs are wokring fine.
I am on CDH 5.9, so just tried with jar path in options list which is atleast running the job now.
I am encountering below error while running the job,
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SparkMain], main() threw exception, requirement failed java.lang.IllegalArgumentException: requirement failed
Created 09-05-2017 07:18 AM
Can you post a full stack trace?
Created on 09-25-2017 02:06 PM - edited 09-25-2017 02:09 PM
Sorry, could not focus on this, was busy with production activities.
Finally, I could able to run it successfully with below configurations,
Jar / py name : ${nameNode}/user/solution.jar
Main Class : Module.final_solution
Options List : --conf spark.yarn.jar=local:/opt/cloudera/parcels/CDH/lib/spark/lib/spark-assembly.jar
Properties:
Spark Master : yarn
Mode : cluster
App name : Final Solution