This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new f4dd85c2d ORC-1676: Use Hive 4.0.0 in benchmark
f4dd85c2d is described below
commit f4dd85c2d537963420b1174378e3e52cb3ddbbc1
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Apr 2 16:07:47 2024 -0700
ORC-1676: Use Hive 4.0.0 in benchmark
### What changes were proposed in this pull request?
This PR aims to use Apache Hive 4.0.0 in benchmark.
### Why are the changes needed?
To make Hive benchmark up-to-date.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #1875 from dongjoon-hyun/ORC-1676.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 3fc7bcad5bccc6430fc339db2bfddfd4664765db)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/bench/hive/pom.xml | 5 ++++-
java/bench/pom.xml | 7 +++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/java/bench/hive/pom.xml b/java/bench/hive/pom.xml
index d5e1c26bb..e7d99984e 100644
--- a/java/bench/hive/pom.xml
+++ b/java/bench/hive/pom.xml
@@ -50,7 +50,6 @@
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
- <classifier>core</classifier>
<exclusions>
<exclusion>
<groupId>org.apache.hadoop</groupId>
@@ -66,6 +65,10 @@
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-hdfs-client</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/java/bench/pom.xml b/java/bench/pom.xml
index 233673fdd..42751b87e 100644
--- a/java/bench/pom.xml
+++ b/java/bench/pom.xml
@@ -34,7 +34,7 @@
<properties>
<avro.version>1.11.3</avro.version>
- <hive.version>3.1.3</hive.version>
+ <hive.version>4.0.0</hive.version>
<jmh.version>1.37</jmh.version>
<junit.version>5.10.1</junit.version>
<orc.version>${project.version}</orc.version>
@@ -159,7 +159,6 @@
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>${hive.version}</version>
- <classifier>core</classifier>
<exclusions>
<exclusion>
<groupId>org.apache.calcite</groupId>
@@ -173,6 +172,10 @@
<groupId>org.apache.calcite.avatica</groupId>
<artifactId>avatica</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-common</artifactId>
+ </exclusion>
<exclusion>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-server-resourcemanager</artifactId>