Reputation: 188
Has anyone managed to successfully run a Spark action through Oozie in HDP?
I am running on HDP 2.3.2 with Oozie 4.2.0. The spark action is set to run in yarn-cluster mode. The spark job is a dummy one, with no input file.
I have first hit the error over here and managed to bypass it by removing the following from the hdfs oozie spark lib folder (in my case: /user/oozie/share/lib/lib_20151116201309/spark/
):
and added the following in the workflow lib folder:
Now I land on the following error:
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SparkMain], main() threw exception, Call From hdp4/10.10.1.84 to 0.0.0.0:8032 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused java.net.ConnectException: Call From hdp4/10.10.1.84 to 0.0.0.0:8032 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
I mention that:
Upvotes: 0
Views: 850
Reputation: 1529
Here are the steps that I performed to get SparkAction to work on HDP 2.3.4.
oozie-sharelib-<spark-version>.jar
. In my case I simply renamed the spark folder to spark-backup
and created a new spark
folder, then copied the jar I mentioned.$SPARK_HOME/lib
to the Oozie sharelib spark folder.<myhost>:8032
via AmbariI had more or less the same problems before, so I posted this question on the Hortonworks Community, which is what helped me to finally get it working.
Upvotes: 0