spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <ja...@japila.pl>
Subject Re: How to impersonate a user from a Spark program
Date Wed, 09 Nov 2016 15:44:45 GMT
Hi Samy,

I don't think there's another option that the command-line
--proxy-user - see [1] and [2].

File a JIRA issue to have it.

[1] https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala#L424
[2] https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L163-L164

Pozdrawiam,
Jacek Laskowski
----
https://medium.com/@jaceklaskowski/
Mastering Apache Spark 2.0 https://bit.ly/mastering-apache-spark
Follow me at https://twitter.com/jaceklaskowski


On Wed, Nov 9, 2016 at 4:20 PM, Samy Dindane <samy@dindane.com> wrote:
> Hi,
>
> In order to impersonate a user when submitting a job with `spark-submit`,
> the `proxy-user` option is used.
> Is there a similar feature when running a job inside a Scala program? Maybe
> by specifying some configuration value?
>
> Thanks.
>
> Samy
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: user-unsubscribe@spark.apache.org
>

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Mime
View raw message