Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/14883#discussion_r77097530
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/internal/SessionState.scala ---
@@ -43,6 +40,11 @@ private[sql] class SessionState(sparkSession:
SparkSession) {
// Note: These are all lazy vals because they depend on each other (e.g.
conf) and we
// want subclasses to override some of the fields. Otherwise, we would
get a lot of NPEs.
+ // Since both sharedState and sessionState are lazily initialized in
SparkSession,
+ // we need to ensure sharedState are initialized before the
sessionState; otherwise,
+ // hive-site.xml might not be loaded when we using it.
--- End diff --
is it an existing bug?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]