Reputation: 1030
Is below option a best approach to give user jar precedence over oozie share lib jar while running on yarn cluster (to resolve class conflict issue)?
<property>
<name>oozie.launcher.mapreduce.user.classpath.first</name>
<value>true</value>
</property>
For more details, Apache Oozie ebook
Upvotes: 0
Views: 487
Reputation: 1131
Yes, you can use this option but sometimes will get unexpected error while running the jobs if jars version is not compatible with yarn/spark cluster library (for example some methods might be removed in latest version).
Upvotes: 1