You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gabor Roczei (Jira)" <ji...@apache.org> on 2022/10/12 14:04:00 UTC

[jira] [Commented] (SPARK-35084) [k8s] On Spark 3, jars listed in spark.jars and spark.jars.packages are not added to sparkContext

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

Gabor Roczei commented on SPARK-35084:
--------------------------------------

Hi [~ocworld],

[Your pull request|https://github.com/apache/spark/pull/32397] has been automatically closed by the github action, I would like to create a new pull request based on yours and continue to work on this if you agree.

> [k8s] On Spark 3, jars listed in spark.jars and spark.jars.packages are not added to sparkContext
> -------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-35084
>                 URL: https://issues.apache.org/jira/browse/SPARK-35084
>             Project: Spark
>          Issue Type: Bug
>          Components: Kubernetes
>    Affects Versions: 3.0.0, 3.0.2, 3.1.1
>            Reporter: Keunhyun Oh
>            Priority: Major
>
> I'm trying to migrate spark 2 to spark 3 in k8s.
>  
> In my environment, on Spark 3.x, jars listed in spark.jars and spark.jars.packages are not added to sparkContext.
> After driver's process is launched, jars are not propagated to Executors. So, NoClassDefException is raised in executors.
>  
> In spark.properties, the only main application jar is contained in spark.jars. It is different from Spark 2.
>  
> How to solve this situation? Is it any changed spark options in spark 3 from spark 2?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org