-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-6618][SPARK-6669][SQL] Lock Hive metastore client correctly. #5333
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
I am working on the test. |
Test build #29617 has started for PR 5333 at commit |
Test build #29617 has finished for PR 5333 at commit
|
Test FAILed. |
@@ -50,7 +50,7 @@ case class InsertIntoHiveTable( | |||
@transient val sc: HiveContext = sqlContext.asInstanceOf[HiveContext] |
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.
Existing: Calling a HiveContext sc
is pretty confusing. Also since this is a convenience cast it should be a def
so as to not take up extra space in the object.
Test build #29619 has started for PR 5333 at commit |
Test build #29619 has finished for PR 5333 at commit
|
Test PASSed. |
Correctly lock on MetastoreCatalog
Test build #29626 has started for PR 5333 at commit |
Test build #29627 has started for PR 5333 at commit |
Test build #29626 has finished for PR 5333 at commit
|
Test PASSed. |
Test build #29627 has finished for PR 5333 at commit
|
Test PASSed. |
Author: Yin Huai <[email protected]> Author: Michael Armbrust <[email protected]> Closes #5333 from yhuai/lookupRelationLock and squashes the following commits: 59c884f [Michael Armbrust] [SQL] Lock metastore client in analyzeTable 7667030 [Yin Huai] Merge pull request #2 from marmbrus/pr/5333 e4a9b0b [Michael Armbrust] Correctly lock on MetastoreCatalog d6fc32f [Yin Huai] Missing `)`. 1e241af [Yin Huai] Protect InsertIntoHive. fee7e9c [Yin Huai] A test? 5416b0f [Yin Huai] Just protect client. (cherry picked from commit 5db8912) Signed-off-by: Michael Armbrust <[email protected]>
No description provided.