-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-15666 shaded dependencies for hbase-testing-util #360
Conversation
Added new artifact hbase-shaded-testing-util. It wraps a whole hbase-server with its testing dependencies. Users should use only the following dependency in pom: <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase-shaded-testing-util</artifactId> <version>${hbase.version}</version> <scope>test</scope> </dependency> Added hbase-shaded-testing-util-tester maven module which ensures that hbase-shaded-testing-util works with a shaded client.
💔 -1 overall
This message was automatically generated. |
I presume the dependency information will go in a release note? Should we call this out in the ref guide now? |
...testing-util-tester/src/test/java/org/apache/hbase/shaded/TestShadedHBaseTestingUtility.java
Show resolved
Hide resolved
...il/src/main/resources/org/apache/hadoop/hbase/shaded/org/eclipse/jetty/webapp/webdefault.xml
Show resolved
Hide resolved
hbase-resource-bundle/src/main/resources/supplemental-models.xml
Outdated
Show resolved
Hide resolved
💔 -1 overall
This message was automatically generated. |
Retest build |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
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.
This is awesome. I didn't realize what this was :)
You have my +1
<artifactId>hadoop-common</artifactId> | ||
<version>${hadoop.version}</version> | ||
<type>test-jar</type> | ||
<scope>compile</scope> |
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.
compile
is the default scope, so couldn't you drop it for all of the dependencies here?
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.
PS: OK if you just want to drop these on commit. Don't need to see a new version to just omit the defaults.
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.
Some of these dependencies are also on the classpath through transitive dependencies with test
scope. That's the reason why I added them explicitly with compile
scope.
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.
Does that matter? I am 99% sure that test-scoped dependencies are not transitively included (thus, the reason for making an hbase-shaded-testing-util module in the first place).
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Added new artifact hbase-shaded-testing-util. It wraps a whole hbase-server
with its testing dependencies. Users should use only the following dependency
in pom:
Added hbase-shaded-testing-util-tester maven module which ensures
that hbase-shaded-testing-util works with a shaded client.