1
0

[HUDI-2133] Support hive1 metadata sync for flink writer (#3225)

This commit is contained in:
swuferhong
2021-07-06 11:01:57 +08:00
committed by GitHub
parent bc313727e3
commit 0bd20827ab

View File

@@ -37,6 +37,7 @@
<!-- override to be same with flink 1.12.2 -->
<parquet.version>1.11.1</parquet.version>
<hive.version>2.3.1</hive.version>
<thrift.version>0.9.3</thrift.version>
</properties>
<build>
@@ -138,6 +139,7 @@
<include>org.datanucleus:datanucleus-core</include>
<include>org.datanucleus:datanucleus-api-jdo</include>
<include>org.apache.thrift:libfb303</include>
<include>org.apache.orc:orc-core</include>
<include>org.apache.hbase:hbase-common</include>
<include>commons-codec:commons-codec</include>
@@ -415,12 +417,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${hive.groupid}</groupId>
<artifactId>hive-service-rpc</artifactId>
<version>${hive.version}</version>
<scope>${flink.bundle.hive.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.groupid}</groupId>
<artifactId>hive-exec</artifactId>
@@ -547,7 +543,7 @@
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libfb303</artifactId>
<version>0.9.3</version>
<version>${thrift.version}</version>
<scope>${flink.bundle.hive.scope}</scope>
</dependency>
@@ -558,6 +554,15 @@
<version>4.0.2</version>
</dependency>
<!-- ORC -->
<dependency>
<groupId>org.apache.orc</groupId>
<artifactId>orc-core</artifactId>
<version>${orc.version}</version>
<classifier>nohive</classifier>
<scope>${flink.bundle.hive.scope}</scope>
</dependency>
<!-- Fasterxml -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
@@ -590,12 +595,28 @@
</dependencies>
<profiles>
<profile>
<id>flink-bundle-shade-hive1</id>
<properties>
<hive.version>1.1.0</hive.version>
<thrift.version>0.9.2</thrift.version>
<flink.bundle.hive.scope>compile</flink.bundle.hive.scope>
</properties>
</profile>
<profile>
<id>flink-bundle-shade-hive2</id>
<properties>
<hive.version>2.3.1</hive.version>
<flink.bundle.hive.scope>compile</flink.bundle.hive.scope>
</properties>
<dependencies>
<dependency>
<groupId>${hive.groupid}</groupId>
<artifactId>hive-service-rpc</artifactId>
<version>${hive.version}</version>
<scope>${flink.bundle.hive.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>flink-bundle-shade-hive3</id>
@@ -603,6 +624,14 @@
<hive.version>3.1.2</hive.version>
<flink.bundle.hive.scope>compile</flink.bundle.hive.scope>
</properties>
<dependencies>
<dependency>
<groupId>${hive.groupid}</groupId>
<artifactId>hive-service-rpc</artifactId>
<version>${hive.version}</version>
<scope>${flink.bundle.hive.scope}</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>