-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-8552] [THRIFTSERVER] Using incorrect database in multiple sessions #7118
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
Conversation
|
ok to test |
|
Test build #36606 has finished for PR 7118 at commit
|
|
Test build #41336 has finished for PR 7118 at commit
|
|
Test build #41339 has finished for PR 7118 at commit
|
|
Test build #41358 has finished for PR 7118 at commit
|
|
Test build #41363 has finished for PR 7118 at commit
|
|
Test build #41434 has finished for PR 7118 at commit
|
|
Test build #41436 has finished for PR 7118 at commit
|
|
Test build #41449 has finished for PR 7118 at commit
|
|
Test build #41506 has finished for PR 7118 at commit
|
|
Test build #41578 has finished for PR 7118 at commit
|
|
Test build #41819 timed out for PR 7118 at commit |
|
Test build #42124 has finished for PR 7118 at commit
|
28c7649 to
6a16a7e
Compare
|
Test build #42167 has finished for PR 7118 at commit
|
|
Test build #42175 has finished for PR 7118 at commit
|
|
I tested this patch, but got this error when executing "show databases;" using beeline,
|
|
@WangTaoTheTonic I've also seen that rebasing this to spark-1.5.0. Seemed done something wrong in rebase process. I'll update soon. |
|
Test build #42312 has finished for PR 7118 at commit
|
|
@navis Thanks you for the fix. I have tested "use $database" on local Thrift Server and the function is ok. There might still have a test failed need to fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments need to be updated with its construct args.
|
@WangTaoTheTonic I've fixed test itself, which seemed invalid. "add jar" should be applied to the session which called it but in test, it expects added jar to be accessed with other sessions. |
|
Test build #42388 has finished for PR 7118 at commit
|
|
Test build #42387 has finished for PR 7118 at commit
|
|
Test build #42418 has finished for PR 7118 at commit
|
|
@marmbrus How do you think this fix? As the issue priority is very high, I think we better fix it ASAP. |
|
I think I prefer the solution taken in #8909, which limits the use of thread local variables |
|
Since #8909 is merged, would you mind close this PR? |
|
@navis |
Currently, metaHive in HiveContext shares single SessionState instance with all execution threads, which makes problems especially with "use" command. I've also went into this problem and spent hard time to know what has happened. This is just first try and need more tests.