Github user devaraj-kavali commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19616#discussion_r168363561
  
    --- Diff: 
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala 
---
    @@ -69,6 +70,10 @@ private[spark] class Client(
     
       private val isClusterMode = sparkConf.get("spark.submit.deployMode", 
"client") == "cluster"
     
    +  private val isClientUnmanagedAMEnabled =
    +    sparkConf.getBoolean("spark.yarn.un-managed-am", false) && 
!isClusterMode
    --- End diff --
    
    Updated the config name and also added config constants.


---

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

Reply via email to