You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/08/21 15:24:00 UTC

[jira] [Updated] (SPARK-26895) When running spark 2.3 as a proxy user (--proxy-user), SparkSubmit fails to resolve globs owned by target user

     [ https://issues.apache.org/jira/browse/SPARK-26895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated SPARK-26895:
----------------------------------
    Fix Version/s: 2.4.4

> When running spark 2.3 as a proxy user (--proxy-user), SparkSubmit fails to resolve globs owned by target user
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-26895
>                 URL: https://issues.apache.org/jira/browse/SPARK-26895
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.2, 2.4.0
>            Reporter: Alessandro Bellina
>            Assignee: Alessandro Bellina
>            Priority: Critical
>             Fix For: 2.4.4, 3.0.0
>
>
> We are resolving globs in SparkSubmit here (by way of prepareSubmitEnvironment) without first going into a doAs:
> https://github.com/apache/spark/blob/6c18d8d8079ac4d2d6dc7539601ab83fc5b51760/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L143
> Without first entering a doAs, as done here:
> [https://github.com/apache/spark/blob/6c18d8d8079ac4d2d6dc7539601ab83fc5b51760/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L151]
> So when running spark-submit with --proxy-user, and for example --archives, it will fail to launch unless the location of the archive is open to the user that executed spark-submit.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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