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

    https://github.com/apache/spark/pull/7706#discussion_r35667248
  
    --- Diff: 
yarn/src/main/scala/org/apache/spark/deploy/yarn/ExecutorRunnable.scala ---
    @@ -86,10 +86,17 @@ class ExecutorRunnable(
         val commands = prepareCommand(masterAddress, slaveId, hostname, 
executorMemory, executorCores,
           appId, localResources)
     
    -    logInfo(s"Setting up executor with environment: $env")
    -    logInfo("Setting up executor with commands: " + commands)
    -    ctx.setCommands(commands)
    +    logInfo(s"""
    +      
|===============================================================================
    +      |YARN executor launch context:
    +      |  env:
    +      |${env.map { case (k, v) => s"    $k -> $v\n" }.mkString}
    --- End diff --
    
    Actually the indentation is in the generated string (yes, a little 
confusing, but this way it aligns properly).


---
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