[SPARK-3124] Fix the jar version conflict in uber-jar - #2035
chenghao-intel wants to merge 2 commits into
Conversation
|
QA tests have started for PR 2035 at commit
|
|
QA tests have started for PR 2035 at commit
|
There was a problem hiding this comment.
There should not be modified.
We should modify the file sql/hive-thriftserver/pom.xml
<dependency>
<groupId>org.spark-project.hive</groupId>
<artifactId>hive-cli</artifactId>
<version>${hive.version}</version>
<exclusions>
<exclusion>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
</exclusion>
</exclusions>
</dependency>|
QA tests have finished for PR 2035 at commit
|
|
QA tests have finished for PR 2035 at commit
|
7d9e366 to
182b52b
Compare
|
QA tests have started for PR 2035 at commit
|
|
QA tests have finished for PR 2035 at commit
|
|
test this please. |
|
QA tests have started for PR 2035 at commit
|
|
QA tests have finished for PR 2035 at commit
|
|
test this please |
|
I commented on the JIRA - but this is likely better solved by a dependency in the hive build, not changing around core dependencies. |
|
QA tests have started for PR 2035 at commit
|
|
QA tests have finished for PR 2035 at commit
|
81fc0d7 to
ade1ae0
Compare
There was a problem hiding this comment.
Make sure the hive test will be triggered.
|
@pwendell I've updated the jira. You are right, it works well with hadoop 2.3, but failed under hadoop-2.0.0-mr1-cdh4.3.0, which I am working with. |
|
QA tests have started for PR 2035 at commit
|
|
I was trying to update the |
|
QA tests have finished for PR 2035 at commit
|
|
It passed the unit test in my local. |
|
test this please |
|
QA tests have started for PR 2035 at commit
|
|
I think we need to modify this file: <dependency>
<groupId>org.spark-project.hive</groupId>
<artifactId>hive-cli</artifactId>
<version>${hive.version}</version>
<exclusions>
<exclusion>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
</exclusion>
</exclusions>
</dependency> |
|
QA tests have finished for PR 2035 at commit
|
|
I pulled the latest master and only update the That's why I changed the |
|
Sorry for the confusing, I've removed the |
|
|
|
Exactly, I did the same test under hadoop-2.3, it plays well, but not for hadoop.version=2.0.0-mr1-cdh4.3.0. Probably the maven exclusion rule are not well configured for the earlier released hadoop. |
|
@chenghao-intel, what is the status of this? Can you update this PR? |
ade1ae0 to
f96ec21
Compare
|
QA tests have started for PR 2035 at commit
|
There was a problem hiding this comment.
Minor change for triggering the HQL testing.
|
@marmbrus this PR will fix method signature exception for the earlier released hadoop version in the uber-jar (like 2.0.0-mr1-cdh4.3.0), and it's harmless for current trunk(which is based on hadoop 2.3.0 for unit test). I created this PR just in case someone making uber-jar with different hadoop version other than default, which may causes runtime exception, like what I did. |
|
QA tests have finished for PR 2035 at commit
|
|
retest this please. |
|
QA tests have started for PR 2035 at commit
|
|
QA tests have finished for PR 2035 at commit
|
|
test this please |
|
QA tests have started for PR 2035 at commit
|
|
LGTM |
|
QA tests have finished for PR 2035 at commit
|
|
QA tests have started for PR 2035 at commit
|
|
Tests timed out after a configured wait of |
|
QA tests have started for PR 2035 at commit
|
|
QA tests have finished for PR 2035 at commit
|
There was a problem hiding this comment.
When building against Hadoop-2.0.2, I found that only this dependency exclusion (not the additional one you included below) was necessary to get past the error you mentioned.
|
thanks, closing this PR. |
Both netty-3.2.2.Final.jar and netty-3.6.6.Final.jar are flatten into the assembly package, however, the class(NioWorker) signature difference leads to the failure in launching sparksql CLI/ThriftServer.
And also a tiny bug found in
CLISuite&HiveThriftServer2Suiteafter fixing the duplicated netty jar.