Skip to content

Commit

Permalink
[improve][hive-reader] Add support for CDH 6.2.1 (#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
wgzhao authored Sep 22, 2023
1 parent 71c4d18 commit 2bcd6ac
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 17 deletions.
1 change: 0 additions & 1 deletion plugin/reader/hivereader/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<scope>runtime</scope>
<excludes>
<exclude>com.wgzhao.addax:*</exclude>
<exclude>org.apache.commons:*</exclude>
</excludes>
</dependencySet>
</dependencySets>
Expand Down
44 changes: 28 additions & 16 deletions plugin/reader/hivereader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
<name>hive-reader</name>
<packaging>jar</packaging>

<properties>
<hadoop.version>2.7.5</hadoop.version>
<hive.jdbc.version>2.1.1</hive.jdbc.version>
<curator.version>4.2.0</curator.version>
</properties>

<dependencies>
<dependency>
<groupId>com.wgzhao.addax</groupId>
Expand Down Expand Up @@ -64,6 +70,24 @@
<version>${commons.configuration2.version}</version>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-client</artifactId>
<version>${curator.version}</version>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>${curator.version}</version>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
</dependency>

<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
Expand Down Expand Up @@ -133,6 +157,10 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.curator</groupId>
<artifactId>curator-client</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down Expand Up @@ -253,10 +281,6 @@
<groupId>io.netty</groupId>
<artifactId>netty-buffer</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand All @@ -266,18 +290,6 @@
<version>${libthrift.version}</version>
</dependency>

<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
</dependency>

<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper-jute</artifactId>
<version>${zookeeper.version}</version>
</dependency>

<dependency>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
Expand Down

0 comments on commit 2bcd6ac

Please sign in to comment.