Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20945#discussion_r179216546
--- Diff:
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
---
@@ -506,6 +506,10 @@ private[spark] class MesosClusterScheduler(
options ++= Seq("--class", desc.command.mainClass)
}
+ desc.conf.getOption("spark.mesos.proxyUser").foreach { v =>
+ options ++= Seq("--proxy-user", v)
--- End diff --
> What are legitimate uses if it is not safe? Like knowing what your code
does so its ok
Yes. For example you can run some trusted code as a less-privileged user,
so that you don't accidentally do something stupid as a super user.
> (Mechanism level: Failed to find any Kerberos tgt)
That means you don't have any credentials (neither a tgt nor a dt). I don't
know EMR so I don't know how to use it (with or without kerberos).
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]