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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to