Uh oh!
There was an error while loading. Please reload this page.
[SPARK-21993][SQL] Close sessionState when finish - #19219
Conversation
There was a problem hiding this comment.
I don't know if it matters, but keep in mind this will hold a reference to sessionState then until the JVM exits
SparkQA
commented
Sep 13, 2017
Test build #81713 has finished for PR 19219 at commit
|
@gatorsmile@HyukjinKwon |
jinxing64
commented
Sep 14, 2017
It seems there are still some other places where session state is not guaranteed to be closed. I will update this pr soon. |
SparkQA
commented
Sep 16, 2017
Test build #81838 has finished for PR 19219 at commit
|
There was a problem hiding this comment.
newSession is to isolate SparkSession in Spark ThriftServer, You must judge whether is thriftserver or not.
SparkQA
commented
Sep 18, 2017
Test build #81874 has finished for PR 19219 at commit
|
SparkQA
commented
Sep 20, 2017
Test build #81997 has finished for PR 19219 at commit
|
SparkQA
commented
Sep 21, 2017
Test build #82017 has finished for PR 19219 at commit
|
gatorsmile
commented
Feb 1, 2018
cc @liufengdb |
liufengdb
commented
Feb 1, 2018
The major issue this PR tries to cover has been fixed by #20029, so I think we are good if there are no calls to |
SparkQA
commented
Feb 1, 2018
Test build #86911 has finished for PR 19219 at commit
|
Closesapache#22567Closesapache#18457Closesapache#21517Closesapache#21858Closesapache#22383Closesapache#19219Closesapache#22401Closesapache#22811Closesapache#20405Closesapache#21933Closesapache#22819 from srowen/ClosePRs. Authored-by: Sean Owen <sean.owen@databricks.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>
What changes were proposed in this pull request?
In current code,
SessionStateinSparkSQLCLIDriveris not guaranteed to be closed. As a result, some tmp files/dirs are not removed when job finished. We can closeSessionStatein shutdown hook.