Uh oh!
There was an error while loading. Please reload this page.
[SPARK-30015][BUILD] Move hive-storage-api dependency from hive-2.3 to sql/core - #26658
[SPARK-30015][BUILD] Move hive-storage-api dependency from hive-2.3 to sql/core#26658dongjoon-hyun wants to merge 4 commits into
hive-2.3 to sql/core#26658Conversation
hive-2.3 to sql/corehive-2.3 to sql/core
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
hive-2.3 to sql/corehive-2.3 to sql/coredongjoon-hyun
commented
Nov 25, 2019
Retest this please. |
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
SparkQA
commented
Nov 25, 2019
Test build #114395 has finished for PR 26658 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
tgravescs
left a comment
There was a problem hiding this comment.
I'm still seeing build failures even with this pr:
[ERROR] [Error] /home/tgraves/workspace/tgravescs-spark/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala:32: object serde is not a member of package org.apache.hadoop.hive
[ERROR] [Error] /home/tgraves/workspace/tgravescs-spark/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala:1343: not found: value SERIALIZATION_FORMAT
build/mvn -Phadoop-2.7 -Phive -Pyarn -Pkinesis-asl -Pkubernetes -Pmesos -Phadoop-cloud -Pspark-ganglia-lgpl package -DskipTests
Maybe I still need the -Phive-2.3?
Uh oh!
There was an error while loading. Please reload this page.
Hi, @srowen and @tgravescs . Thank you for review.
BTW, although it's orthogonal to this PR, we had better remove |
tgravescs
commented
Nov 25, 2019
so what are the rest of the jiras to fix the build? Its not very user friendly for us to have broke the default build and it to not be clear at what options actually work. I tried building 4 different ways before finding one that worked. |
dongjoon-hyun
commented
Nov 25, 2019
@tgravescs . After merging this, I'd like to change the following. BTW, what you want when you use
I'm wondering your decision on |
dongjoon-hyun
commented
Nov 25, 2019
Thank you for approval. Sorry for the inconvenience. |
tgravescs
commented
Nov 25, 2019
I'm not sure I saw an answer on the mailing thread, if we are considering hive 1.2.1 deprecated perhaps we should have hive 2.3 the default. Also for hadoop 3.2 profile the only one that works is hive 2.3 right? |
dongjoon-hyun
commented
Nov 25, 2019
Thanks for confirming. Yes. Right. |
SparkQA
commented
Nov 25, 2019
Test build #114416 has finished for PR 26658 at commit
|
SparkQA
commented
Nov 25, 2019
Test build #114417 has finished for PR 26658 at commit
|
What changes were proposed in this pull request?
This PR aims to relocate the following internal dependencies to compile
sql/corewithout-Phive-2.3profile.hive-storage-apitosql/corewhich is usinghive-storage-apireally.BEFORE (sql/core compilation)
AFTER (sql/core compilation)
commons-lang:commons-langtest dependency tospark-coremodule to manage the dependency explicitly. Without this,coremodule fails to build the test classes.BEFORE (commons-lang:commons-lang)
The following is the previous
coremodule'scommons-lang:commons-langdependency.AFTER (commons-lang:commons-lang)
Since we wanted to verify that this PR doesn't change
hive-1.2profile, we mergedSPARK-30005 Update
test-dependencies.shto checkhive-1.2/2.3profile before this PR.Why are the changes needed?
Apache Spark 2.4's
sql/coreis usingApache ORC (nohive)jars including shadedhive-storage-apito access ORC data sources.Apache Spark 3.0's
sql/coreis usingApache Hivejars directly. Previously,-Phadoop-3.2hid thishive-storage-apidependency. Now, we are using-Phive-2.3instead. As I mentioned previously, this PR is required to compilesql/coremodule without-Phive-2.3.For
sql/hiveandsql/hive-thriftserver, it's natural that we need-Phive-1.2or-Phive-2.3.Does this PR introduce any user-facing change?
No.
How was this patch tested?
This will pass the Jenkins (with the dependency check and unit tests).
We need to check manually with
./build/mvn -DskipTests --pl sql/core --am compile.This closes#26657 .