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

    https://github.com/apache/spark/pull/20873#discussion_r176646160
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
    @@ -776,6 +776,9 @@ object SparkSubmit extends CommandLineUtils with 
Logging {
           sparkConf.set("spark.submit.pyFiles", formattedPyFiles)
         }
     
    +    // [SPARK-22744] Cannot get the submit hostname of application
    +    sparkConf.set("spark.submit.hostname", Utils.localHostName)
    --- End diff --
    
    So basically how do you leverage this configuration?
    
    I think maybe you can achieve this out of Spark, like changing the submit 
script to dump some information about submission hostname.
    
    It is a little awkward to add a configuration in Spark which only used out 
of Spark.


---

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

Reply via email to