aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2017-02-20 12:21:07 -0800
committergatorsmile <gatorsmile@gmail.com>2017-02-20 12:21:07 -0800
commit0733a54a4517b82291efed9ac7f7407d9044593c (patch)
treec5ede60c50ad3097fa6451ef5a52b2cbbc4caed1 /core
parentead4ba0eb5841e42e6a57c1a1865bf89564e8ff9 (diff)
downloadspark-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')
-rw-r--r--core/src/main/scala/org/apache/spark/internal/Logging.scala2
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