Uh oh!
There was an error while loading. Please reload this page.
[SPARK-33696][BUILD][SQL] Upgrade built-in Hive to 2.3.8 - #30657
[SPARK-33696][BUILD][SQL] Upgrade built-in Hive to 2.3.8#30657wangyum wants to merge 10 commits into
Conversation
dongjoon-hyun
commented
Dec 8, 2020
Yey! |
| // Since HIVE-14496, Hive materialized view need calcite-core. | ||
| // For spark, only VersionsSuite currently creates a hive materialized view for testing. | ||
| case object v2_3 extends HiveVersion("2.3.7", | ||
| case object v2_3 extends HiveVersion("2.3.8", |
There was a problem hiding this comment.
Per the test internally, this needs to be changed to pass all tests. But let's see the Jenkins result first.
SparkQA
commented
Dec 8, 2020
Test build #132389 has finished for PR 30657 at commit
|
wangyum
commented
Dec 8, 2020
|
viirya
commented
Dec 8, 2020
Yea, this was we encountered in internal test. So as #30657 (comment), there must be a separated |
wangyum
commented
Dec 9, 2020
@viirya@sunchao Can you reproduce this issue? Hadoop 2.7.7 + Hive 2.3.8: |
sunchao
commented
Dec 9, 2020
Hmm yes I used to see this failure in Hive UTs but I think it should have been resolved via apache/hive#1356, since we also shade calcite in |
sunchao
commented
Dec 9, 2020
let me try to reproduce this as well locally. |
sunchao
commented
Dec 9, 2020
@wangyum@viirya yes I was able to reproduce the same issue. I think it could be cause we have I'll update the release vote email thread and start a new RC once this is fixed. |
wangyum
commented
Dec 9, 2020
Thank you @sunchao . |
We have included Do we know where it comes from? |
sunchao
commented
Dec 9, 2020
@viirya yes exactly - it is from |
sunchao
commented
Dec 9, 2020
for comparison, the binary distribution from Hive master branch doesn't include any calcite jars, but I'm seeing: in 2.3.8 binary distribution. |
viirya
commented
Dec 9, 2020
I only see |
sunchao
commented
Dec 9, 2020
I think we need something like https://issues.apache.org/jira/browse/HIVE-23593 and exclude calcite from |
wangyum
commented
Dec 10, 2020
retest this please. |
SparkQA
commented
Dec 10, 2020
Kubernetes integration test starting |
SparkQA
commented
Dec 10, 2020
Kubernetes integration test status success |
SparkQA
commented
Dec 10, 2020
Test build #132524 has finished for PR 30657 at commit
|
SparkQA
commented
Dec 10, 2020
Kubernetes integration test starting |
| exclusions = Seq("org.apache.calcite:calcite-core", | ||
| "org.apache.calcite:calcite-druid", | ||
| "org.apache.calcite.avatica:avatica", | ||
| "com.google.guava:guava", |
There was a problem hiding this comment.
Just curious. Why do we need to exclude it? Hive 2.3.8 is supposed to shade it, isn't it?
SparkQA
commented
Dec 10, 2020
Kubernetes integration test status failure |
SparkQA
commented
Dec 10, 2020
Test build #132549 has finished for PR 30657 at commit
|
@sunchao@viirya Could we do not include
Hive 2.3.8 load class from Hive 2.3.7 load class from |
| <exclusion> | ||
| <groupId>net.hydromatic</groupId> | ||
| <artifactId>eigenbase-properties</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.codehaus.janino</groupId> | ||
| <artifactId>commons-compiler</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.codehaus.janino</groupId> | ||
| <artifactId>janino</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.pentaho</groupId> | ||
| <artifactId>pentaho-aggdesigner-algorithm</artifactId> | ||
| </exclusion> |
SparkQA
commented
Jan 8, 2021
Test build #133840 has finished for PR 30657 at commit
|
SparkQA
commented
Jan 9, 2021
Kubernetes integration test starting |
SparkQA
commented
Jan 9, 2021
Kubernetes integration test status failure |
SparkQA
commented
Jan 9, 2021
Test build #133861 has finished for PR 30657 at commit
|
# Conflicts: # dev/deps/spark-deps-hadoop-3.2-hive-2.3
SparkQA
commented
Jan 16, 2021
Test build #134133 has finished for PR 30657 at commit
|
dongjoon-hyun
commented
Jan 16, 2021
Retest this please |
SparkQA
commented
Jan 16, 2021
Test build #134151 has finished for PR 30657 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
sunchao
commented
Jan 18, 2021
Artifacts have been published to Maven now - could you try this again? |
wangyum
commented
Jan 18, 2021
retest this please. |
dongjoon-hyun
commented
Jan 18, 2021
Great! Could you remove the |
SparkQA
commented
Jan 18, 2021
Test build #134170 has finished for PR 30657 at commit
|
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM. Thank you, @wangyum and all!
Merged to master for Apache Spark 3.2.0.
### What changes were proposed in this pull request? Hive 2.3.8 changes: HIVE-19662: Upgrade Avro to 1.8.2 HIVE-24324: Remove deprecated API usage from Avro HIVE-23980: Shade Guava from hive-exec in Hive 2.3 HIVE-24436: Fix Avro NULL_DEFAULT_VALUE compatibility issue HIVE-24512: Exclude calcite in packaging. HIVE-22708: Fix for HttpTransport to replace String.equals HIVE-24551: Hive should include transitive dependencies from calcite after shading it HIVE-24553: Exclude calcite from test-jar dependency of hive-exec ### Why are the changes needed? Upgrade Avro and Parquet to latest version. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing test add test try to upgrade Parquet to 1.11.1 and Avro to 1.10.1: apache#30517Closesapache#30657 from wangyum/SPARK-33696. Authored-by: Yuming Wang <yumwang@ebay.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Hive 2.3.8 changes: HIVE-19662: Upgrade Avro to 1.8.2 HIVE-24324: Remove deprecated API usage from Avro HIVE-23980: Shade Guava from hive-exec in Hive 2.3 HIVE-24436: Fix Avro NULL_DEFAULT_VALUE compatibility issue HIVE-24512: Exclude calcite in packaging. HIVE-22708: Fix for HttpTransport to replace String.equals HIVE-24551: Hive should include transitive dependencies from calcite after shading it HIVE-24553: Exclude calcite from test-jar dependency of hive-exec Upgrade Avro and Parquet to latest version. No. Existing test add test try to upgrade Parquet to 1.11.1 and Avro to 1.10.1: apache#30517Closesapache#30657 from wangyum/SPARK-33696. Authored-by: Yuming Wang <yumwang@ebay.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Hive 2.3.8 changes: HIVE-19662: Upgrade Avro to 1.8.2 HIVE-24324: Remove deprecated API usage from Avro HIVE-23980: Shade Guava from hive-exec in Hive 2.3 HIVE-24436: Fix Avro NULL_DEFAULT_VALUE compatibility issue HIVE-24512: Exclude calcite in packaging. HIVE-22708: Fix for HttpTransport to replace String.equals HIVE-24551: Hive should include transitive dependencies from calcite after shading it HIVE-24553: Exclude calcite from test-jar dependency of hive-exec Upgrade Avro and Parquet to latest version. No. Existing test add test try to upgrade Parquet to 1.11.1 and Avro to 1.10.1: apache#30517Closesapache#30657 from wangyum/SPARK-33696. Authored-by: Yuming Wang <yumwang@ebay.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Hive 2.3.8 changes: HIVE-19662: Upgrade Avro to 1.8.2 HIVE-24324: Remove deprecated API usage from Avro HIVE-23980: Shade Guava from hive-exec in Hive 2.3 HIVE-24436: Fix Avro NULL_DEFAULT_VALUE compatibility issue HIVE-24512: Exclude calcite in packaging. HIVE-22708: Fix for HttpTransport to replace String.equals HIVE-24551: Hive should include transitive dependencies from calcite after shading it HIVE-24553: Exclude calcite from test-jar dependency of hive-exec Upgrade Avro and Parquet to latest version. No. Existing test add test try to upgrade Parquet to 1.11.1 and Avro to 1.10.1: apache#30517Closesapache#30657 from wangyum/SPARK-33696. Authored-by: Yuming Wang <yumwang@ebay.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>


What changes were proposed in this pull request?
Hive 2.3.8 changes:
HIVE-19662: Upgrade Avro to 1.8.2
HIVE-24324: Remove deprecated API usage from Avro
HIVE-23980: Shade Guava from hive-exec in Hive 2.3
HIVE-24436: Fix Avro NULL_DEFAULT_VALUE compatibility issue
HIVE-24512: Exclude calcite in packaging.
HIVE-22708: Fix for HttpTransport to replace String.equals
HIVE-24551: Hive should include transitive dependencies from calcite after shading it
HIVE-24553: Exclude calcite from test-jar dependency of hive-exec
Why are the changes needed?
Upgrade Avro and Parquet to latest version.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing test add test try to upgrade Parquet to 1.11.1 and Avro to 1.10.1: #30517