-
- Downloads
[SPARK-16966][SQL][CORE] App Name is a randomUUID even when "spark.app.name" exists
## What changes were proposed in this pull request? Don't override app name specified in `SparkConf` with a random app name. Only set it if the conf has no app name even after options have been applied. See also https://github.com/apache/spark/pull/14602 This is similar to Sherry302 's original proposal in https://github.com/apache/spark/pull/14556 ## How was this patch tested? Jenkins test, with new case reproducing the bug Author: Sean Owen <sowen@cloudera.com> Closes #14630 from srowen/SPARK-16966.2.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala 7 additions, 4 deletions...re/src/main/scala/org/apache/spark/sql/SparkSession.scala
- sql/core/src/test/scala/org/apache/spark/sql/SparkSessionBuilderSuite.scala 1 addition, 0 deletions...scala/org/apache/spark/sql/SparkSessionBuilderSuite.scala
Loading
Please register or sign in to comment