Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9126#discussion_r42157153
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala ---
    @@ -89,9 +89,9 @@ private[hive] case class CurrentDatabase(ctx: HiveContext)
     class HiveContext private[hive](
         sc: SparkContext,
         cacheManager: CacheManager,
    -    @transient listener: SQLListener,
    -    @transient execHive: ClientWrapper,
    -    @transient metaHive: ClientInterface,
    +    listener: SQLListener,
    --- End diff --
    
    Same here, I don't think we want to ship the listener to the executors if 
the context happens to get captured by a closure.


---
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]

Reply via email to