You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by skonto <gi...@git.apache.org> on 2018/07/03 13:14:44 UTC

[GitHub] spark pull request #21669: [SPARK-23257][K8S][WIP] Kerberos Support for Spar...

Github user skonto commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21669#discussion_r199801815
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
    @@ -336,7 +336,7 @@ private[spark] class SparkSubmit extends Logging {
         val targetDir = Utils.createTempDir()
     
         // assure a keytab is available from any place in a JVM
    -    if (clusterManager == YARN || clusterManager == LOCAL || isMesosClient) {
    +    if (clusterManager == YARN || clusterManager == LOCAL || isMesosClient || isKubernetesCluster) {
    --- End diff --
    
    This check has been restrictive for customers in the past. There are cases where spark submit should not have the file locally and keytab should be mounted as a secret within the cluster.


---

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