You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Satish Subhashrao Saley (JIRA)" <ji...@apache.org> on 2016/09/01 20:57:20 UTC

[jira] [Commented] (OOZIE-2658) --driver-class-path can overwrite the classpath in SparkMain

    [ https://issues.apache.org/jira/browse/OOZIE-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456589#comment-15456589 ] 

Satish Subhashrao Saley commented on OOZIE-2658:
------------------------------------------------

{code}
private static final String DRIVER_CLASSPATH_OPTION = "--driver-class-path=";
{code}
You need to remove the {{=}} at the end of string. User would mention this option without {{=}} sign. Option and its value will be separated by space.
{code}
<spark-opts> --driver-class-path /some/path</spark-opts>
{code}

> --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)