You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2021/07/19 08:11:00 UTC
[jira] [Commented] (SPARK-36088) 'spark.archives' does not extract
the archive file into the driver under client mode
[ https://issues.apache.org/jira/browse/SPARK-36088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383128#comment-17383128 ]
Hyukjin Kwon commented on SPARK-36088:
--------------------------------------
does your driver run inside a pod or on a physical host?
> 'spark.archives' does not extract the archive file into the driver under client mode
> ------------------------------------------------------------------------------------
>
> Key: SPARK-36088
> URL: https://issues.apache.org/jira/browse/SPARK-36088
> Project: Spark
> Issue Type: Improvement
> Components: Kubernetes, Spark Submit
> Affects Versions: 3.1.2
> Reporter: rickcheng
> Priority: Major
>
> When running spark in the k8s cluster, there are 2 deploy modes: cluster and client. After my test, in the cluster mode, *spark.archives* can extract the archive file to the working directory of the executors and driver. But in client mode, *spark.archives* can only extract the archive file to the working directory of the executors.
>
> However, I need *spark.archives* to send the virtual environment tar file packaged by conda to both the driver and executors under client mode (So that the executor and the driver have the same python environment).
>
> Why *spark.archives* does not extract the archive file into the working directory of the driver under client mode?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org