Repository: spark Updated Branches: refs/heads/master ebf33a333 -> 53ca9755d
[SPARK-25009][CORE] Standalone Cluster mode application submit is not working ## What changes were proposed in this pull request? It seems 'doRunMain()' has been removed accidentally by other PR and due to that the application submission is not happening, this PR adds back the 'doRunMain()' for standalone cluster submission. ## How was this patch tested? I verified it manually by submitting application in standalone cluster mode, all the applications are submitting to the Master with the change. Author: Devaraj K <deva...@apache.org> Closes #21979 from devaraj-kavali/SPARK-25009. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/53ca9755 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/53ca9755 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/53ca9755 Branch: refs/heads/master Commit: 53ca9755dbb3b952b16b198d31b7964d56bb5ef9 Parents: ebf33a3 Author: Devaraj K <deva...@apache.org> Authored: Fri Aug 3 07:23:56 2018 +0000 Committer: DB Tsai <dbt...@dbtsai.com> Committed: Fri Aug 3 07:23:56 2018 +0000 ---------------------------------------------------------------------- core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/53ca9755/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala b/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala index e7310ee..6e70bcd 100644 --- a/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala +++ b/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala @@ -181,6 +181,7 @@ private[spark] class SparkSubmit extends Logging { if (args.isStandaloneCluster && args.useRest) { try { logInfo("Running Spark using the REST application submission protocol.") + doRunMain() } catch { // Fail over to use the legacy submission gateway case e: SubmitRestConnectionException => --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org