05-10-2017 09:59 AM
We are using CDH 5.11, yarn and spark2.
In our application we are using guava 19 dependency, we shaded it in to our jar.
But when we submit the job, we are seeing
when i check the environment for he job.. we see
What are the options we have to use different version of gauva.
I tried spark.executor.userClassPathFirst=true and spark.driver.userClassPathFirst=true
but ran into job start issues it self.
What worked for us when we run a job in local mode is setting spark distribution classpath in cludera manager
When we run with yarn with above spark setting it still failed.
Tried setting tarn.application.classpath to have /home/dep/test-lib/* as first entry but it still failed
Can you suggest us.. whats the recommended approach for this conflict.