This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch release-1.9
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.9 by this push:
     new e1024fc  [FLINK_13475][hive] Reduce dependency on third-party maven 
repositories
e1024fc is described below

commit e1024fc04e8e7400183c153db276d162932e9d50
Author: zjuwangg <zjuwa...@foxmail.com>
AuthorDate: Fri Aug 2 11:21:41 2019 +0800

    [FLINK_13475][hive] Reduce dependency on third-party maven repositories
    
    This closes #9337
---
 flink-connectors/flink-connector-hive/pom.xml | 136 +++++++++++++++++++++++++-
 1 file changed, 134 insertions(+), 2 deletions(-)

diff --git a/flink-connectors/flink-connector-hive/pom.xml 
b/flink-connectors/flink-connector-hive/pom.xml
index 4cbe68b..93757fe 100644
--- a/flink-connectors/flink-connector-hive/pom.xml
+++ b/flink-connectors/flink-connector-hive/pom.xml
@@ -412,6 +412,14 @@ under the License.
                     <artifactId>hive-contrib</artifactId>
                 </exclusion>
                                <exclusion>
+                                       <groupId>org.apache.hive</groupId>
+                                       <artifactId>hive-exec</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hive</groupId>
+                                       
<artifactId>hive-hcatalog-core</artifactId>
+                               </exclusion>
+                               <exclusion>
                                        <groupId>org.apache.tez</groupId>
                                        <artifactId>tez-common</artifactId>
                                </exclusion>
@@ -420,6 +428,54 @@ under the License.
                                        <groupId>jdk.tools</groupId>
                                        <artifactId>jdk.tools</artifactId>
                                </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-common</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-auth</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-annotations</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-hdfs</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-mapreduce-client-core</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-yarn-api</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-yarn-client</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-yarn-common</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-yarn-server-common</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-yarn-server-web-proxy</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-shim</artifactId>
+                                       <groupId>org.apache.tez</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>jms</artifactId>
+                                       <groupId>javax.jms</groupId>
+                               </exclusion>
             </exclusions>
         </dependency>
 
@@ -460,8 +516,60 @@ under the License.
                                        <groupId>jdk.tools</groupId>
                                        <artifactId>jdk.tools</artifactId>
                                </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-common</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-auth</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-client</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-annotations</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-hdfs</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-mapreduce-client-core</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-yarn-api</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-yarn-common</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-yarn-registry</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-yarn-server-applicationhistoryservice</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-yarn-server-common</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-yarn-server-resourcemanager</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hbase-hadoop-compat</artifactId>
+                                       <groupId>org.apache.hbase</groupId>
+                               </exclusion>
                        </exclusions>
-        </dependency>
+               </dependency>
 
                <dependency>
             <groupId>org.apache.hive.hcatalog</groupId>
@@ -470,10 +578,34 @@ under the License.
             <scope>test</scope>
                        <exclusions>
                                <exclusion>
+                                       <groupId>org.apache.hive</groupId>
+                                       <artifactId>hive-exec</artifactId>
+                               </exclusion>
+                               <exclusion>
                                        <groupId>com.google.guava</groupId>
                                        <artifactId>guava</artifactId>
                                </exclusion>
-                       </exclusions>
+                               <exclusion>
+                                       <artifactId>hadoop-common</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-archives</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-annotations</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       <artifactId>hadoop-hdfs</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+                               <exclusion>
+                                       
<artifactId>hadoop-mapreduce-client-core</artifactId>
+                                       <groupId>org.apache.hadoop</groupId>
+                               </exclusion>
+            </exclusions>
         </dependency>
 
                <!-- TODO: move to flink-connector-hive-test end-to-end test 
module once it's setup -->

Reply via email to