You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by cloud-fan <gi...@git.apache.org> on 2018/08/09 14:32:25 UTC

[GitHub] spark pull request #22056: [SPARK-25076][SQL] SQLConf should not be retrieve...

GitHub user cloud-fan opened a pull request:

    https://github.com/apache/spark/pull/22056

    [SPARK-25076][SQL] SQLConf should not be retrieved from a stopped SparkSession

    ## What changes were proposed in this pull request?
    
    When a `SparkSession` is stopped, `SQLConf.get` should use the fallback conf to avoid weird issues like
    ```
    sbt.ForkMain$ForkError: java.lang.IllegalStateException: LiveListenerBus is stopped.
    	at org.apache.spark.scheduler.LiveListenerBus.addToQueue(LiveListenerBus.scala:97)
    	at org.apache.spark.scheduler.LiveListenerBus.addToStatusQueue(LiveListenerBus.scala:80)
    	at org.apache.spark.sql.internal.SharedState.<init>(SharedState.scala:93)
    	at org.apache.spark.sql.SparkSession$$anonfun$sharedState$1.apply(SparkSession.scala:120)
    	at org.apache.spark.sql.SparkSession$$anonfun$sharedState$1.apply(SparkSession.scala:120)
    	at scala.Option.getOrElse(Option.scala:121)
    ...
    ``` 
    
    ## How was this patch tested?
    
    a new test suite

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloud-fan/spark session

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22056.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22056
    
----
commit 4b58645f98db544ddbda5e0019fcb21c36b0ca2d
Author: Wenchen Fan <we...@...>
Date:   2018-08-09T14:21:47Z

    SQLConf should not be retrieved from a stopped SparkSession

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #22056: [SPARK-25076][SQL] SQLConf should not be retrieved from ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22056
  
    Merged build finished. Test PASSed.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #22056: [SPARK-25076][SQL] SQLConf should not be retrieved from ...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22056
  
    **[Test build #94498 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/94498/testReport)** for PR 22056 at commit [`4b58645`](https://github.com/apache/spark/commit/4b58645f98db544ddbda5e0019fcb21c36b0ca2d).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #22056: [SPARK-25076][SQL] SQLConf should not be retrieved from ...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22056
  
    **[Test build #94498 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/94498/testReport)** for PR 22056 at commit [`4b58645`](https://github.com/apache/spark/commit/4b58645f98db544ddbda5e0019fcb21c36b0ca2d).


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #22056: [SPARK-25076][SQL] SQLConf should not be retrieve...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/22056


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #22056: [SPARK-25076][SQL] SQLConf should not be retrieved from ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22056
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2002/
    Test PASSed.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #22056: [SPARK-25076][SQL] SQLConf should not be retrieved from ...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/22056
  
    cc @rxin @gatorsmile 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #22056: [SPARK-25076][SQL] SQLConf should not be retrieved from ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22056
  
    Merged build finished. Test PASSed.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #22056: [SPARK-25076][SQL] SQLConf should not be retrieved from ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22056
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94498/
    Test PASSed.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org