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

    https://github.com/apache/spark/pull/6360#discussion_r32145765
  
    --- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
    @@ -548,8 +606,19 @@ private[spark] class Client(
         logInfo("Setting up container launch context for our AM")
         val appId = newAppResponse.getApplicationId
         val appStagingDir = getAppStagingDir(appId)
    -    val localResources = prepareLocalResources(appStagingDir)
    -    val launchEnv = setupLaunchEnv(appStagingDir)
    +    val pySparkArchives =
    +      if (sys.props.getOrElse("spark.yarn.isPython", null) == "true") {
    --- End diff --
    
    could this be `sys.props.getOrElse("...", "false").toBoolean` so it handles 
cases as well?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to