-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-29981][BUILD] Add hive-1.2/2.3 profiles #26619
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -128,19 +128,19 @@ | |
| <zookeeper.version>3.4.14</zookeeper.version> | ||
| <curator.version>2.7.1</curator.version> | ||
| <okapi.version>0.4.2</okapi.version> | ||
| <hive.group>org.spark-project.hive</hive.group> | ||
| <hive.classifier></hive.classifier> | ||
| <hive.group>org.apache.hive</hive.group> | ||
| <hive.classifier>core</hive.classifier> | ||
| <!-- Version used in Maven Hive dependency --> | ||
| <hive.version>1.2.1.spark2</hive.version> | ||
| <hive.version>2.3.6</hive.version> | ||
| <hive23.version>2.3.6</hive23.version> | ||
| <!-- Version used for internal directory structure --> | ||
| <hive.version.short>1.2.1</hive.version.short> | ||
| <hive.version.short>2.3.5</hive.version.short> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. BTW, any reason why we needed the patch version in the directory names initially? I don't think we need different shims for Hive patch versions. If that's true, I'd suggest renaming the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure. We can use the short versions (
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since we are already in Apache Hive 2.3.6, I don't expect many changes at 2.3.7+. |
||
| <!-- note that this should be compatible with Kafka brokers version 0.10 and up --> | ||
| <kafka.version>2.3.1</kafka.version> | ||
| <derby.version>10.12.1.1</derby.version> | ||
| <parquet.version>1.10.1</parquet.version> | ||
| <orc.version>1.5.7</orc.version> | ||
| <orc.classifier>nohive</orc.classifier> | ||
| <orc.classifier></orc.classifier> | ||
| <hive.parquet.group>com.twitter</hive.parquet.group> | ||
| <hive.parquet.version>1.6.0</hive.parquet.version> | ||
| <jetty.version>9.4.18.v20190429</jetty.version> | ||
|
|
@@ -181,7 +181,7 @@ | |
| <commons-lang3.version>3.8.1</commons-lang3.version> | ||
| <!-- org.apache.commons/commons-pool2/--> | ||
| <commons-pool2.version>2.6.2</commons-pool2.version> | ||
| <datanucleus-core.version>3.2.10</datanucleus-core.version> | ||
| <datanucleus-core.version>4.1.17</datanucleus-core.version> | ||
| <janino.version>3.0.15</janino.version> | ||
| <jersey.version>2.29</jersey.version> | ||
| <joda.version>2.10.5</joda.version> | ||
|
|
@@ -228,7 +228,7 @@ | |
| --> | ||
| <hadoop.deps.scope>compile</hadoop.deps.scope> | ||
| <hive.deps.scope>compile</hive.deps.scope> | ||
| <hive.parquet.scope>${hive.deps.scope}</hive.parquet.scope> | ||
| <hive.parquet.scope>provided</hive.parquet.scope> | ||
| <orc.deps.scope>compile</orc.deps.scope> | ||
| <parquet.deps.scope>compile</parquet.deps.scope> | ||
| <parquet.test.deps.scope>test</parquet.test.deps.scope> | ||
|
|
@@ -2921,16 +2921,27 @@ | |
| <properties> | ||
| <hadoop.version>3.2.0</hadoop.version> | ||
| <curator.version>2.13.0</curator.version> | ||
| <hive.group>org.apache.hive</hive.group> | ||
| <hive.classifier>core</hive.classifier> | ||
| <hive.version>${hive23.version}</hive.version> | ||
| <hive.version.short>2.3.5</hive.version.short> | ||
| <!-- Do not need parquet-hadoop-bundle because we already have | ||
| parquet-common, parquet-column and parquet-hadoop --> | ||
| <hive.parquet.scope>provided</hive.parquet.scope> | ||
| <orc.classifier></orc.classifier> | ||
| <datanucleus-core.version>4.1.17</datanucleus-core.version> | ||
| </properties> | ||
| </profile> | ||
|
|
||
| <profile> | ||
| <id>hive-1.2</id> | ||
| <properties> | ||
| <hive.group>org.spark-project.hive</hive.group> | ||
| <hive.classifier></hive.classifier> | ||
| <!-- Version used in Maven Hive dependency --> | ||
| <hive.version>1.2.1.spark2</hive.version> | ||
| <!-- Version used for internal directory structure --> | ||
| <hive.version.short>1.2.1</hive.version.short> | ||
| <hive.parquet.scope>${hive.deps.scope}</hive.parquet.scope> | ||
| <orc.classifier>nohive</orc.classifier> | ||
| <datanucleus-core.version>3.2.10</datanucleus-core.version> | ||
| </properties> | ||
| </profile> | ||
|
|
||
| <profile> | ||
| <id>hive-2.3</id> | ||
| <!-- Default hive profile. Uses global properties. --> | ||
| <dependencies> | ||
| <!-- Both Hive and ORC need hive-storage-api, but it is excluded by orc-mapreduce --> | ||
| <dependency> | ||
|
|
||
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.
Hm, @dongjoon-hyun, can you create JIRAs to follow up? Seems we will change
-Phive-2.3as a default profile as discussed in the mailing list.-Phadoop-2.7 -Phive-2.3.*Hadoop 2 will be default at this moment. it's being discussed in the mailing list
Many things are going on so it looks very easy to lose the track.
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.
Sure!
Uh oh!
There was an error while loading. Please reload this page.
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.
BTW, the thread is independent from JDK11 or Hadoop 3. For the following, only JDK8 is the target of the follow-up of this PR. And, for JDK11, I believe @wangyum will handle it at his on-going work.
For (4),
Hive 2.3is already default forHadoop-3. And, this PR makesHive 2.3as a default in the pom files. So, I guess the remains of (4) is equal to (2) and (3).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.
The follow-up issues are created and mentioned in the PR description, @HyukjinKwon .
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, sure, thanks for clarification. @wangyum, can you verify the new JDK 11 combination and take a following action?
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.
@HyukjinKwon I will do it later.