Skip to content

Spark-Yarn-Ozone problems #4897

Answered by ericbrow
ericbrow asked this question in FAQ
Discussion options

You must be logged in to vote

Thanks to @GeorgeJahad comments in the last community call, I was able to get all this working.

The key error in my issue was of trying to cast an unshaded variable as shaded. The fix for this was instead of adding $OZONE_HOME/share/ozone/lib/ozone-filesystem-hadoop3-1.3.0.jar into the necessary places for spark and HDFS, I used ozone-filesystem-hadoop3-client-1.3.0.jar.

Following this, I did have to re-do my configs to use o3fs instead of ofs, but now my spark jobs are successfully submitted to yarn, and ran across the yarn cluster. I also had to get the log4j jar file added to the spark classpath, but those errors were rather explicit in what was missing.

I'd like to thank everyone who …

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ericbrow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
3 participants