[
https://issues.apache.org/jira/browse/OOZIE-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Cseh updated OOZIE-2658:
------------------------------
Attachment: OOZIE-2658.001.patch
Attaching a patch. I've tested it in a cluster and it worked.
Unfortunately, can't add junit tests until OOZIE-2554 is ready.
> --driver-class-path can overwrite the classpath in SparkMain
> ------------------------------------------------------------
>
> Key: OOZIE-2658
> URL: https://issues.apache.org/jira/browse/OOZIE-2658
> Project: Oozie
> Issue Type: Bug
> Reporter: Peter Cseh
> Assignee: Peter Cseh
> Attachments: OOZIE-2658.001.patch
>
>
> In SparkMain we use the option {{--conf spark.driver.extraClassPath=}} to put
> together the jars needed for Spark. If the user specifies this option, Oozie
> appends to the value.
> If {{--driver-class-path}} is defined in {{<spark-opts>}} then it's value
> overwrites the other ones, causing the Spark action to fail.
> We should handle both ways to define classpaths the same.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)