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

Jim Lim commented on SPARK-2624:
--------------------------------

Line 223 in {{org/apache/spark/deploy/yarn/ClientBase.java}} seems like a good 
spot.

{quote}
    def prepareLocalResources(...) = \{
        val cachedSecondaryJarLinks = ListBuffer.empty\[String\]
        ...
    \}
{quote}

The datanucleus jars that need to be added are: datanucleus-api-jdo-3.2.1.jar, 
datanucleus-core-3.2.2.jar, datanucleus-rdbms-3.2.1.jar

> Datanucleus jars not accessible in yarn-cluster mode
> ----------------------------------------------------
>
>                 Key: SPARK-2624
>                 URL: https://issues.apache.org/jira/browse/SPARK-2624
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.0.1
>            Reporter: Andrew Or
>            Assignee: Jim Lim
>             Fix For: 1.2.0
>
>
> This is because we add it to the class path of the command that launches 
> spark submit, but the containers never get it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to