diff options
author | Reynold Xin <rxin@databricks.com> | 2017-02-20 12:21:07 -0800 |
---|---|---|
committer | gatorsmile <gatorsmile@gmail.com> | 2017-02-20 12:21:07 -0800 |
commit | 0733a54a4517b82291efed9ac7f7407d9044593c (patch) | |
tree | c5ede60c50ad3097fa6451ef5a52b2cbbc4caed1 /core/src/main/scala/org | |
parent | ead4ba0eb5841e42e6a57c1a1865bf89564e8ff9 (diff) | |
download | spark-0733a54a4517b82291efed9ac7f7407d9044593c.tar.gz spark-0733a54a4517b82291efed9ac7f7407d9044593c.tar.bz2 spark-0733a54a4517b82291efed9ac7f7407d9044593c.zip |
[SPARK-19669][SQL] Open up visibility for sharedState, sessionState, and a few other functions
## What changes were proposed in this pull request?
To ease debugging, most of Spark SQL internals have public level visibility. Two of the most important internal states, sharedState and sessionState, however, are package private. It would make more sense to open these up as well with clear documentation that they are internal.
In addition, users currently have way to set active/default SparkSession, but no way to actually get them back. We should open those up as well.
## How was this patch tested?
N/A - only visibility change.
Author: Reynold Xin <rxin@databricks.com>
Closes #17002 from rxin/SPARK-19669.
Diffstat (limited to 'core/src/main/scala/org')
-rw-r--r-- | core/src/main/scala/org/apache/spark/internal/Logging.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/internal/Logging.scala b/core/src/main/scala/org/apache/spark/internal/Logging.scala index 013cd1c1bc..c7f2847731 100644 --- a/core/src/main/scala/org/apache/spark/internal/Logging.scala +++ b/core/src/main/scala/org/apache/spark/internal/Logging.scala @@ -28,7 +28,7 @@ import org.apache.spark.util.Utils * logging messages at different levels using methods that only evaluate parameters lazily if the * log level is enabled. */ -private[spark] trait Logging { +trait Logging { // Make the log field transient so that objects with Logging can // be serialized and used on another machine |