-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-28036: Move checkLock method to TestTxnDbUtil #5039
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
6e0e809 to
1dc19e8
Compare
|
I have concerns about making hive-exec to depend on standalone-metastore, for two reasons: What about putting the method into some similar purpose util class in the hive-exec module? It is already referenced in hive-it-unit. |
thanks for the comments! it's standalone in a sense that it doesn't depend on hive-exec, but not the other way: if you look at ql/pom.xml, hive really depends on hive metastore, and that's by design: I believe being standalone doesn't mean that others cannot depend on you, and that's what's reflected in another poms in the hive code as well |
InvisibleProgrammer
left a comment
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.
LGTM
|
|
deniskuzZ
left a comment
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.
LGTM +1




What changes were proposed in this pull request?
Move TestDbTxnManager2.checkLock to TestTxnDbUtil.checkLock
Why are the changes needed?
Described on jira.
Does this PR introduce any user-facing change?
No.
Is the change a dependency upgrade?
No.
How was this patch tested?
Unit tests should pass.