Skip to content

Commit 03f810e

Browse files
committedDec 10, 2019
Merge remote-tracking branch 'origin/master'
2 parents 008f089 + be03eb4 commit 03f810e

File tree

43 files changed

+1576
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1576
-91
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
## Flink connector Hive
2+
3+
Flink 1.9 版本开始支持 Hive Connector
4+
5+
https://ci.apache.org/projects/flink/flink-docs-release-1.9/dev/table/hive/

‎flink-learning-connectors/flink-learning-connectors-hive/pom.xml

+54
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,61 @@
1616
<groupId>org.apache.flink</groupId>
1717
<artifactId>flink-connector-hive_${scala.binary.version}</artifactId>
1818
<version>${flink.version}</version>
19+
<scope>provided</scope>
1920
</dependency>
21+
22+
<!-- Hadoop Dependencies -->
23+
24+
<dependency>
25+
<groupId>org.apache.flink</groupId>
26+
<artifactId>flink-hadoop-compatibility_2.11</artifactId>
27+
<version>${flink.version}</version>
28+
<scope>provided</scope>
29+
</dependency>
30+
31+
<!-- Hive 2.3.4 is built with Hadoop 2.7.2. We pick 2.7.5 which flink-shaded-hadoop is pre-built with, but users can pick their own hadoop version, as long as it's compatible with Hadoop 2.7.2 -->
32+
33+
<dependency>
34+
<groupId>org.apache.flink</groupId>
35+
<artifactId>flink-shaded-hadoop-2-uber</artifactId>
36+
<version>2.7.5-8.0</version>
37+
<scope>provided</scope>
38+
</dependency>
39+
40+
<!-- Hive Metastore -->
41+
<!--<dependency>-->
42+
<!--<groupId>org.apache.hive</groupId>-->
43+
<!--<artifactId>hive-exec</artifactId>-->
44+
<!--<version>2.3.4</version>-->
45+
<!--</dependency>-->
46+
47+
<!-- Hive 1.2.1 is built with Hadoop 2.6.0. We pick 2.6.5 which flink-shaded-hadoop is pre-built with, but users can pick their own hadoop version, as long as it's compatible with Hadoop 2.6.0 -->
48+
<!--
49+
<dependency>
50+
<groupId>org.apache.flink</groupId>
51+
<artifactId>flink-shaded-hadoop-2-uber</artifactId>
52+
<version>2.6.5-8.0</version>
53+
<scope>provided</scope>
54+
</dependency>
55+
56+
&lt;!&ndash; Hive Metastore &ndash;&gt;
57+
<dependency>
58+
<groupId>org.apache.hive</groupId>
59+
<artifactId>hive-metastore</artifactId>
60+
<version>1.2.1</version>
61+
</dependency>
62+
63+
<dependency>
64+
<groupId>org.apache.hive</groupId>
65+
<artifactId>hive-exec</artifactId>
66+
<version>1.2.1</version>
67+
</dependency>
68+
69+
<dependency>
70+
<groupId>org.apache.thrift</groupId>
71+
<artifactId>libfb303</artifactId>
72+
<version>0.9.3</version>
73+
</dependency>-->
2074
</dependencies>
2175

2276
<build>

0 commit comments

Comments
 (0)