-
Notifications
You must be signed in to change notification settings - Fork 981
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
DRILL-8436: Upgrade Hadoop 3.2.4 → 3.3.6 #2821
Conversation
fff8e71
to
131ea54
Compare
So, this seems to work but not in JDK 8 😒 |
exec/jdbc-all/pom.xml
Outdated
<artifactId>jersey-server</artifactId> | ||
</exclusion> | ||
<exclusion> | ||
<groupId>com.sun.jersey</groupId> |
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.
hadoop 3.3.6 uses my fork of jersey-json -- see https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.3.6
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.
Ah! Thanks.
In JDK 8, it can't find io/netty/handler/codec/http/HttpRequest. Maybe, we need to add an explicit dependency on the io.netty:netty-codec-http jar |
131ea54
to
f7154f8
Compare
I've just set this PR to Draft because I rediscovered a problem in the Drill JDBC driver. I'll paste a chat message I sent to @vvysotskyi a few months back below, to reveal the nature of the problem. I'm sure it's ultimately fixable, but I don't know of an elegant fix yet.
|
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
f7154f8
to
23036d7
Compare
I've got the JDBC driver working by bundling a core-site.xml file in it that handles the relocation of org.apache.hadoop to oadd.org.apache.hadoop. |
23036d7
to
5950ff3
Compare
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. Thanks for this!
I thought I was reviewing the other PR for the library updates. Could we rebase this on master once that has been merged? |
5950ff3
to
bdf896d
Compare
Done. |
4286115
to
b057ce2
Compare
b057ce2
to
adc1516
Compare
adc1516
to
e1d23af
Compare
contrib/storage-phoenix/pom.xml
Outdated
@@ -29,9 +29,9 @@ | |||
<name>Drill : Contrib : Storage : Phoenix</name> | |||
|
|||
<properties> | |||
<phoenix.version>5.1.2</phoenix.version> | |||
<phoenix.version>5.1.3</phoenix.version> | |||
<!-- Keep the 2.4.2 to reduce dependency conflict --> |
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.
@cgivre I need to reword this comment slightly and prune some commented sections from java-exec/pom.xml below, but are you happy with this PR at this stage?
@@ -388,51 +396,52 @@ | |||
<include>*:*</include> | |||
</includes> | |||
<excludes> | |||
<exclude>io.protostuff:*</exclude> |
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.
@cgivre All the diff noise here comes about because I decided to sort this list alphabetically in the hopes that contributors will keep it sorted from here on, making checking what's in it that much easier. I can revert the sorting if preferred though.
@@ -679,86 +688,85 @@ | |||
<filter> | |||
<artifact>*:*</artifact> | |||
<excludes> | |||
<exclude>**/logback.xml</exclude> |
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.
Another list that's been sorted alphabetically in this PR.
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
* Upgrade Hadoop to 3.3.6. * Upgrade Apache Phoenix libs to 5.1.3
DRILL-8436: Upgrade Hadoop 3.2.4 → 3.3.6
Description
Hadoop is upgraded to 3.3.6.
Documentation
N/A
Testing
Existing unit tests, manual testing of Drill HTTP services. Manual testing Drill JDBC driver.
Rebased onto #2823.