Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/19616#discussion_r165515603 --- 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 -- This should be a config constant. Also `unmanagedAM` is more in line with other config names.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org