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 <s...@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-unsubscr...@spark.apache.org > --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org