Github user LantaoJin commented on a diff in the pull request: https://github.com/apache/spark/pull/20873#discussion_r176647022 --- 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 -- Agree your suggestion. Thanks @jerryshao. In contrast to MR, there is a read-only property mapreduce.job.submithostname. So I thought it should treate as spark internal, not out of. Anyway, your suggestion work around.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org