Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-32165][SQL] Ensure Spark only initiates SharedState once across SparkSessions #31268

Closed
wants to merge 7 commits into from

Conversation

Ngone51
Copy link
Member

@Ngone51 Ngone51 commented Jan 21, 2021

What changes were proposed in this pull request?

This PR makes sure that SharedState would be only initiated once across SparkSessions.

Why are the changes needed?

This helps us to fix the listener(e.g., SQLAppStatusListener) leak issue, and allow SparkSessions created by getOrCreate to share the CacheManager, global temp view, etc.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Added UTs.

Close #31053

@github-actions github-actions bot added the SQL label Jan 21, 2021
@SparkQA
Copy link

SparkQA commented Jan 21, 2021

Test build #134299 has finished for PR 31268 at commit 9c32d18.

  • This patch fails from timeout after a configured wait of 500m.
  • This patch merges cleanly.
  • This patch adds no public classes.

@github-actions
Copy link

github-actions bot commented May 2, 2021

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label May 2, 2021
@github-actions github-actions bot closed this May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants