You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/06/19 11:31:24 UTC

[flink] branch master updated: [FLINK-10984][build] Remove flink-shaded-hadoop(-uber) modules

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

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new ee4a2f7  [FLINK-10984][build] Remove flink-shaded-hadoop(-uber) modules
ee4a2f7 is described below

commit ee4a2f7e247bfd687670026d0bb20eb8ee043b2d
Author: Jincheng Sun <su...@gmail.com>
AuthorDate: Wed Jun 19 19:31:12 2019 +0800

    [FLINK-10984][build] Remove flink-shaded-hadoop(-uber) modules
---
 .../flink-connector-filesystem/pom.xml             |   4 +-
 .../flink-hadoop-compatibility/pom.xml             |   4 +-
 flink-connectors/flink-hbase/pom.xml               |   4 +-
 flink-connectors/flink-hcatalog/pom.xml            |   4 +-
 flink-connectors/flink-orc/pom.xml                 |   4 +-
 flink-dist/pom.xml                                 |  11 +-
 flink-dist/src/main/assemblies/hadoop.xml          |  17 +-
 .../flink-bucketing-sink-test/pom.xml              |   4 +-
 flink-filesystems/flink-hadoop-fs/pom.xml          |   4 +-
 flink-filesystems/flink-swift-fs-hadoop/pom.xml    |   2 +-
 flink-formats/flink-parquet/pom.xml                |   4 +-
 flink-formats/flink-sequence-file/pom.xml          |   4 +-
 flink-fs-tests/pom.xml                             |   4 +-
 flink-runtime/pom.xml                              |   4 +-
 .../flink-shaded-hadoop2-uber/pom.xml              | 117 ---
 .../src/main/resources/META-INF/NOTICE             |  52 --
 .../resources/META-INF/licenses/LICENSE.cddlv1.0   | 129 ----
 .../resources/META-INF/licenses/LICENSE.cddlv1.1   | 348 ---------
 .../main/resources/META-INF/licenses/LICENSE.jsch  |  30 -
 .../resources/META-INF/licenses/LICENSE.paranamer  |  28 -
 .../resources/META-INF/licenses/LICENSE.xmlenc     |  27 -
 flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml   | 828 ---------------------
 .../src/main/resources/META-INF/NOTICE             |  31 -
 .../resources/META-INF/licenses/LICENSE.protobuf   |  32 -
 .../flink-shaded-yarn-tests/pom.xml                |  72 --
 .../pom.xml                                        |  64 +-
 .../src/main/resources/META-INF/NOTICE             |   0
 .../main/resources/META-INF/licenses/LICENSE.asm   |   0
 .../resources/META-INF/licenses/LICENSE.protobuf   |   0
 flink-tests/pom.xml                                |   4 +-
 flink-yarn-tests/pom.xml                           |  12 +-
 flink-yarn/pom.xml                                 |   4 +-
 pom.xml                                            |   4 +-
 tools/releasing/create_binary_release.sh           |  32 +-
 tools/releasing/deploy_staging_jars.sh             |   9 -
 35 files changed, 102 insertions(+), 1795 deletions(-)

diff --git a/flink-connectors/flink-connector-filesystem/pom.xml b/flink-connectors/flink-connector-filesystem/pom.xml
index 950664b..0202986 100644
--- a/flink-connectors/flink-connector-filesystem/pom.xml
+++ b/flink-connectors/flink-connector-filesystem/pom.xml
@@ -52,8 +52,8 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>provided</scope>
 		</dependency>
 
diff --git a/flink-connectors/flink-hadoop-compatibility/pom.xml b/flink-connectors/flink-hadoop-compatibility/pom.xml
index 30ea172..d6b5d54 100644
--- a/flink-connectors/flink-hadoop-compatibility/pom.xml
+++ b/flink-connectors/flink-hadoop-compatibility/pom.xml
@@ -62,8 +62,8 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>provided</scope>
 		</dependency>
 
diff --git a/flink-connectors/flink-hbase/pom.xml b/flink-connectors/flink-hbase/pom.xml
index d41bb45..63580d2 100644
--- a/flink-connectors/flink-hbase/pom.xml
+++ b/flink-connectors/flink-hbase/pom.xml
@@ -110,8 +110,8 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>provided</scope>
 		</dependency>
 
diff --git a/flink-connectors/flink-hcatalog/pom.xml b/flink-connectors/flink-hcatalog/pom.xml
index 5a437f8..6a3d159 100644
--- a/flink-connectors/flink-hcatalog/pom.xml
+++ b/flink-connectors/flink-hcatalog/pom.xml
@@ -68,8 +68,8 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>provided</scope>
 		</dependency>
 
diff --git a/flink-connectors/flink-orc/pom.xml b/flink-connectors/flink-orc/pom.xml
index 217074d..5e0f6d1 100644
--- a/flink-connectors/flink-orc/pom.xml
+++ b/flink-connectors/flink-orc/pom.xml
@@ -79,8 +79,8 @@ under the License.
 		<!-- Replacement for ORC's Hadoop dependency. -->
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>provided</scope>
 		</dependency>
 
diff --git a/flink-dist/pom.xml b/flink-dist/pom.xml
index 8dd16bd..fd3b9ae 100644
--- a/flink-dist/pom.xml
+++ b/flink-dist/pom.xml
@@ -135,7 +135,7 @@ under the License.
 			<exclusions>
 				<exclusion>
 					<groupId>org.apache.flink</groupId>
-					<artifactId>flink-shaded-hadoop2</artifactId>
+					<artifactId>flink-shaded-hadoop-2</artifactId>
 				</exclusion>
 			</exclusions>
 		</dependency>
@@ -425,15 +425,10 @@ under the License.
                     The Hadoop 2 Uber jar should not go into the Flink dist jar, but
                     sit next to it. Hence, we set it to 'provided' here.
                 -->
-
 				<dependency>
 					<groupId>org.apache.flink</groupId>
-					<artifactId>flink-shaded-hadoop2-uber</artifactId>
-					<version>${hadoop.version}-${project.version}</version>
-					<!--
-                        Exclusion of flink-shaded-hadoop2 not necessary, dependencies
-                        are shaded away properly by flink-shaded-hadoop2-uber.
-                    -->
+					<artifactId>flink-shaded-hadoop-2-uber</artifactId>
+					<version>${hadoop.version}-${flink.shaded.version}</version>
 					<scope>provided</scope>
 				</dependency>
 			</dependencies>
diff --git a/flink-dist/src/main/assemblies/hadoop.xml b/flink-dist/src/main/assemblies/hadoop.xml
index deca87f..7a3ebc4 100644
--- a/flink-dist/src/main/assemblies/hadoop.xml
+++ b/flink-dist/src/main/assemblies/hadoop.xml
@@ -28,13 +28,14 @@ under the License.
 	<includeBaseDirectory>true</includeBaseDirectory>
 	<baseDirectory>flink-${project.version}</baseDirectory>
 
-	<files>
-		<!-- copy the Hadoop uber jar -->
-		<file>
-			<source>../flink-shaded-hadoop/flink-shaded-hadoop2-uber/target/flink-shaded-hadoop2-uber-${hadoop.version}-${project.version}.jar</source>
+	<dependencySets>
+		<dependencySet>
 			<outputDirectory>lib/</outputDirectory>
-			<destName>flink-shaded-hadoop2-uber-${project.version}-${hadoop.version}.jar</destName>
-			<fileMode>0644</fileMode>
-		</file>
-	</files>
+			<useTransitiveDependencies>true</useTransitiveDependencies>
+			<scope>provided</scope>
+			<includes>
+				<include>org.apache.flink:flink-shaded-hadoop-2-uber</include>
+			</includes>
+		</dependencySet>
+	</dependencySets>
 </assembly>
diff --git a/flink-end-to-end-tests/flink-bucketing-sink-test/pom.xml b/flink-end-to-end-tests/flink-bucketing-sink-test/pom.xml
index 7b015f7..6f66159 100644
--- a/flink-end-to-end-tests/flink-bucketing-sink-test/pom.xml
+++ b/flink-end-to-end-tests/flink-bucketing-sink-test/pom.xml
@@ -48,8 +48,8 @@
 		</dependency>
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>provided</scope>
 			<exclusions>
 				<!-- Needed for proper dependency convergence -->
diff --git a/flink-filesystems/flink-hadoop-fs/pom.xml b/flink-filesystems/flink-hadoop-fs/pom.xml
index fb42546..89ee4d4 100644
--- a/flink-filesystems/flink-hadoop-fs/pom.xml
+++ b/flink-filesystems/flink-hadoop-fs/pom.xml
@@ -44,8 +44,8 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<optional>true</optional>
 		</dependency>
 
diff --git a/flink-filesystems/flink-swift-fs-hadoop/pom.xml b/flink-filesystems/flink-swift-fs-hadoop/pom.xml
index db53d0c..42c3839 100644
--- a/flink-filesystems/flink-swift-fs-hadoop/pom.xml
+++ b/flink-filesystems/flink-swift-fs-hadoop/pom.xml
@@ -60,7 +60,7 @@ under the License.
 			<exclusions>
 				<exclusion>
 					<groupId>org.apache.flink</groupId>
-					<artifactId>flink-shaded-hadoop2</artifactId>
+					<artifactId>flink-shaded-hadoop-2</artifactId>
 				</exclusion>
 			</exclusions>
 		</dependency>
diff --git a/flink-formats/flink-parquet/pom.xml b/flink-formats/flink-parquet/pom.xml
index 379ecaf..4a2fd32 100644
--- a/flink-formats/flink-parquet/pom.xml
+++ b/flink-formats/flink-parquet/pom.xml
@@ -60,8 +60,8 @@ under the License.
 		<!-- Hadoop is needed by Parquet -->
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>provided</scope>
 		</dependency>
 
diff --git a/flink-formats/flink-sequence-file/pom.xml b/flink-formats/flink-sequence-file/pom.xml
index aa84215..545f9d3 100644
--- a/flink-formats/flink-sequence-file/pom.xml
+++ b/flink-formats/flink-sequence-file/pom.xml
@@ -46,8 +46,8 @@ under the License.
 		<!-- Hadoop is needed for SequenceFile -->
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>provided</scope>
 		</dependency>
 
diff --git a/flink-fs-tests/pom.xml b/flink-fs-tests/pom.xml
index 4c5e3e5..e5e3916 100644
--- a/flink-fs-tests/pom.xml
+++ b/flink-fs-tests/pom.xml
@@ -38,8 +38,8 @@ under the License.
 	<dependencies>
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>test</scope>
 		</dependency>
 		
diff --git a/flink-runtime/pom.xml b/flink-runtime/pom.xml
index a679cea..6691ea7 100644
--- a/flink-runtime/pom.xml
+++ b/flink-runtime/pom.xml
@@ -69,8 +69,8 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<optional>true</optional>
 		</dependency>
 
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/pom.xml b/flink-shaded-hadoop/flink-shaded-hadoop2-uber/pom.xml
deleted file mode 100644
index 970d390..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/pom.xml
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-	<modelVersion>4.0.0</modelVersion>
-
-	<parent>
-		<groupId>org.apache.flink</groupId>
-		<artifactId>flink-shaded-hadoop</artifactId>
-		<version>1.9-SNAPSHOT</version>
-		<relativePath>..</relativePath>
-	</parent>
-
-	<artifactId>flink-shaded-hadoop2-uber</artifactId>
-	<name>flink-shaded-hadoop2-uber</name>
-
-	<packaging>jar</packaging>
-	<version>${hadoop.version}-1.9-SNAPSHOT</version>
-
-	<!--
-		the only dependency of the 'flink-shaded-hadoop2' artifact, out
-		of which we build a fat jar
-	-->
-
-	<dependencies>
-		<dependency>
-			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${project.version}</version>
-		</dependency>
-	</dependencies>
-
-	
-
-	<build>
-		<plugins>
-
-			<!-- 
-				Build an uber jar of the shaded-hadoop-dependency
-				and all its transitive dependencies
-			-->
-
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-shade-plugin</artifactId>
-				<executions>
-					<execution>
-						<id>shade-hadoop</id>
-						<phase>package</phase>
-						<goals>
-							<goal>shade</goal>
-						</goals>
-						<configuration>
-							<shadedArtifactAttached>false</shadedArtifactAttached>
-							<createDependencyReducedPom>true</createDependencyReducedPom>
-							<dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
-							<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
-
-							<filters>
-								<!-- Exclude signatures -->
-								<filter>
-									<artifact>*</artifact>
-									<excludes>
-										<exclude>META-INF/*.SF</exclude>
-										<exclude>META-INF/*.DSA</exclude>
-										<exclude>META-INF/*.RSA</exclude>
-									</excludes>
-								</filter>
-							</filters>
-
-							<artifactSet>
-								<includes>
-									<include>*:*</include>
-								</includes>
-								<excludes>
-									<exclude>org.slf4j:*</exclude>
-									<exclude>log4j:*</exclude>
-								</excludes>
-							</artifactSet>
-
-							<transformers>
-								<!-- The service transformer is needed to merge META-INF/services files -->
-								<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
-								<!-- The ApacheNoticeResourceTransformer collects and aggregates NOTICE files -->
-								<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
-									<projectName>Apache Flink</projectName>
-								</transformer>
-							</transformers>
-
-						</configuration>
-					</execution>
-				</executions>
-			</plugin>
-
-		</plugins>
-	</build>
-
-</project>
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/NOTICE b/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/NOTICE
deleted file mode 100644
index b1b30e7..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/NOTICE
+++ /dev/null
@@ -1,52 +0,0 @@
-flink-shaded-hadoop2-uber
-Copyright 2014-2019 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
-
-- com.jamesmurty.utils:java-xmlbuilder:0.4
-- commons-beanutils:commons-beanutils:1.9.3
-- commons-cli:commons-cli:1.3.1
-- commons-codec:commons-codec:1.10
-- commons-collections:commons-collections:3.2.2
-- commons-configuration:commons-configuration:1.7
-- commons-daemon:commons-daemon:1.0.13
-- commons-digester:commons-digester:1.8.1
-- commons-io:commons-io:2.4
-- commons-lang:commons-lang:2.6
-- commons-logging:commons-logging:1.1.3
-- commons-net:commons-net:3.1
-- org.apache.avro:avro:1.8.2
-- org.apache.commons:commons-compress:1.18
-- org.apache.commons:commons-math3:3.5
-- org.apache.zookeeper:zookeeper:3.4.10
-- org.codehaus.jackson:jackson-core-asl:1.9.13
-- org.codehaus.jackson:jackson-mapper-asl:1.9.13
-- org.xerial.snappy:snappy-java:1.1.4
-
-This project bundles the following dependencies under the BSD license.
-See bundled license files for details.
-
-- com.jcraft:jsch:0.1.42
-- com.thoughtworks.paranamer:paranamer:2.7
-- xmlenc:xmlenc:0.52
-
-This project bundles the following dependencies under the Common Development and Distribution License (CDDL) 1.0.
-See bundled license files for details.
-
-- javax.activation:activation:1.1 (http://java.sun.com/products/javabeans/jaf/index.jsp)
-- javax.servlet:servlet-api:2.5 (https://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/)
-- javax.xml.stream:stax-api:1.0-2 (http://central.maven.org/maven2/javax/xml/stream/stax-api/1.0-2/)
-
-This project bundles the following dependencies under the Common Development and Distribution License (CDDL) 1.1.
-See bundled license files for details.
-
-- com.sun.jersey:jersey-client:1.9 (http://central.maven.org/maven2/com/sun/jersey/jersey-client/1.9/)
-- javax.xml.bind:jaxb-api:2.2.2 (https://jaxb.dev.java.net/)
-
-This project bundles "org.tukaani:xz:1.5".
-This Java implementation of XZ has been put into the public domain, thus you can do
-whatever you want with it. All the files in the package have been written by Lasse Collin,
-but some files are heavily based on public domain code written by Igor Pavlov.
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.cddlv1.0 b/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.cddlv1.0
deleted file mode 100644
index 468e751..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.cddlv1.0
+++ /dev/null
@@ -1,129 +0,0 @@
-1. Definitions.
-
-1.1. "Contributor" means each individual or entity that creates or contributes to the creation of Modifications.
-
-1.2. "Contributor Version" means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
-
-1.3. "Covered Software" means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
-
-1.4. "Executable" means the Covered Software in any form other than Source Code.
-
-1.5. "Initial Developer" means the individual or entity that first makes Original Software available under this License.
-
-1.6. "Larger Work" means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
-
-1.7. "License" means this document.
-
-1.8. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
-
-1.9. "Modifications" means the Source Code and Executable form of any of the following:
-
-A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
-
-B. Any new file that contains any part of the Original Software or previous Modification; or
-
-C. Any new file that is contributed or otherwise made available under the terms of this License.
-
-1.10. "Original Software" means the Source Code and Executable form of computer software code that is originally released under this License.
-
-1.11. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
-
-1.12. "Source Code" means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
-
-1.13. "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outsta [...]
-
-2. License Grants.
-
-2.1. The Initial Developer Grant.
-
-Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
-
-(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
-
-(c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
-
-(d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
-
-2.2. Contributor Grant.
-
-Conditioned upon Your compliance with Section 3.1 below and
-subject to third party intellectual property claims, each
-Contributor hereby grants You a world-wide, royalty-free,
-non-exclusive license:
-
-(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
-
-(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
-
-(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
-(d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
-
-3. Distribution Obligations.
-
-3.1. Availability of Source Code.
-
-Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software i [...]
-
-3.2. Modifications.
-
-The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
-
-3.3. Required Notices.
-
-You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
-
-3.4. Application of Additional Terms.
-
-You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients' rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such [...]
-
-3.5. Distribution of Executable Versions.
-
-You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient's rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form u [...]
-
-3.6. Larger Works.
-
-You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
-
-4. Versions of the License.
-
-4.1. New Versions.
-
-Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
-
-4.2. Effect of New Versions.
-
-You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which [...]
-
-4.3. Modified Versions.
-
-When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
-
-5. DISCLAIMER OF WARRANTY.
-
-COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE [...]
-
-6. TERMINATION.
-
-6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-
-6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as "Participant") alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights gr [...]
-
-6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
-
-7. LIMITATION OF LIABILITY.
-
-UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL O [...]
-
-8. U.S. GOVERNMENT END USERS.
-
-The Covered Software is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" (as that term is defined at 48 C.F.R. ¤ 252.227-7014(a)(1)) and "commercial computer software documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth he [...]
-
-9. MISCELLANEOUS.
-
-This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction's conflict-of-law provisions. Any litigation  [...]
-
-10. RESPONSIBILITY FOR CLAIMS.
-
-As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.cddlv1.1 b/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.cddlv1.1
deleted file mode 100644
index 75372e3..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.cddlv1.1
+++ /dev/null
@@ -1,348 +0,0 @@
-1. Definitions.
-
-  1.1. "Contributor" means each individual or entity that creates or
-  contributes to the creation of Modifications.
-
-  1.2. "Contributor Version" means the combination of the Original
-  Software, prior Modifications used by a Contributor (if any), and
-  the Modifications made by that particular Contributor.
-
-  1.3. "Covered Software" means (a) the Original Software, or (b)
-  Modifications, or (c) the combination of files containing Original
-  Software with files containing Modifications, in each case including
-  portions thereof.
-
-  1.4. "Executable" means the Covered Software in any form other than
-  Source Code.
-
-  1.5. "Initial Developer" means the individual or entity that first
-  makes Original Software available under this License.
-
-  1.6. "Larger Work" means a work which combines Covered Software or
-  portions thereof with code not governed by the terms of this License.
-
-  1.7. "License" means this document.
-
-  1.8. "Licensable" means having the right to grant, to the maximum
-  extent possible, whether at the time of the initial grant or
-  subsequently acquired, any and all of the rights conveyed herein.
-
-  1.9. "Modifications" means the Source Code and Executable form of
-  any of the following:
-
-  A. Any file that results from an addition to, deletion from or
-  modification of the contents of a file containing Original Software
-  or previous Modifications;
-
-  B. Any new file that contains any part of the Original Software or
-  previous Modification; or
-
-  C. Any new file that is contributed or otherwise made available
-  under the terms of this License.
-
-  1.10. "Original Software" means the Source Code and Executable form
-  of computer software code that is originally released under this
-  License.
-
-  1.11. "Patent Claims" means any patent claim(s), now owned or
-  hereafter acquired, including without limitation, method, process,
-  and apparatus claims, in any patent Licensable by grantor.
-
-  1.12. "Source Code" means (a) the common form of computer software
-  code in which modifications are made and (b) associated
-  documentation included in or with such code.
-
-  1.13. "You" (or "Your") means an individual or a legal entity
-  exercising rights under, and complying with all of the terms of,
-  this License. For legal entities, "You" includes any entity which
-  controls, is controlled by, or is under common control with You. For
-  purposes of this definition, "control" means (a) the power, direct
-  or indirect, to cause the direction or management of such entity,
-  whether by contract or otherwise, or (b) ownership of more than
-  fifty percent (50%) of the outstanding shares or beneficial
-  ownership of such entity.
-
-2. License Grants.
-
-  2.1. The Initial Developer Grant.
-
-  Conditioned upon Your compliance with Section 3.1 below and subject
-  to third party intellectual property claims, the Initial Developer
-  hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-  (a) under intellectual property rights (other than patent or
-  trademark) Licensable by Initial Developer, to use, reproduce,
-  modify, display, perform, sublicense and distribute the Original
-  Software (or portions thereof), with or without Modifications,
-  and/or as part of a Larger Work; and
-
-  (b) under Patent Claims infringed by the making, using or selling of
-  Original Software, to make, have made, use, practice, sell, and
-  offer for sale, and/or otherwise dispose of the Original Software
-  (or portions thereof).
-
-  (c) The licenses granted in Sections 2.1(a) and (b) are effective on
-  the date Initial Developer first distributes or otherwise makes the
-  Original Software available to a third party under the terms of this
-  License.
-
-  (d) Notwithstanding Section 2.1(b) above, no patent license is
-  granted: (1) for code that You delete from the Original Software, or
-  (2) for infringements caused by: (i) the modification of the
-  Original Software, or (ii) the combination of the Original Software
-  with other software or devices.
-
-  2.2. Contributor Grant.
-
-  Conditioned upon Your compliance with Section 3.1 below and subject
-  to third party intellectual property claims, each Contributor hereby
-  grants You a world-wide, royalty-free, non-exclusive license:
-
-  (a) under intellectual property rights (other than patent or
-  trademark) Licensable by Contributor to use, reproduce, modify,
-  display, perform, sublicense and distribute the Modifications
-  created by such Contributor (or portions thereof), either on an
-  unmodified basis, with other Modifications, as Covered Software
-  and/or as part of a Larger Work; and
-
-  (b) under Patent Claims infringed by the making, using, or selling
-  of Modifications made by that Contributor either alone and/or in
-  combination with its Contributor Version (or portions of such
-  combination), to make, use, sell, offer for sale, have made, and/or
-  otherwise dispose of: (1) Modifications made by that Contributor (or
-  portions thereof); and (2) the combination of Modifications made by
-  that Contributor with its Contributor Version (or portions of such
-  combination).
-
-  (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective
-  on the date Contributor first distributes or otherwise makes the
-  Modifications available to a third party.
-
-  (d) Notwithstanding Section 2.2(b) above, no patent license is
-  granted: (1) for any code that Contributor has deleted from the
-  Contributor Version; (2) for infringements caused by: (i) third
-  party modifications of Contributor Version, or (ii) the combination
-  of Modifications made by that Contributor with other software
-  (except as part of the Contributor Version) or other devices; or (3)
-  under Patent Claims infringed by Covered Software in the absence of
-  Modifications made by that Contributor.
-
-3. Distribution Obligations.
-
-  3.1. Availability of Source Code.
-
-  Any Covered Software that You distribute or otherwise make available
-  in Executable form must also be made available in Source Code form
-  and that Source Code form must be distributed only under the terms
-  of this License. You must include a copy of this License with every
-  copy of the Source Code form of the Covered Software You distribute
-  or otherwise make available. You must inform recipients of any such
-  Covered Software in Executable form as to how they can obtain such
-  Covered Software in Source Code form in a reasonable manner on or
-  through a medium customarily used for software exchange.
-
-  3.2. Modifications.
-
-  The Modifications that You create or to which You contribute are
-  governed by the terms of this License. You represent that You
-  believe Your Modifications are Your original creation(s) and/or You
-  have sufficient rights to grant the rights conveyed by this License.
-
-  3.3. Required Notices.
-
-  You must include a notice in each of Your Modifications that
-  identifies You as the Contributor of the Modification. You may not
-  remove or alter any copyright, patent or trademark notices contained
-  within the Covered Software, or any notices of licensing or any
-  descriptive text giving attribution to any Contributor or the
-  Initial Developer.
-
-  3.4. Application of Additional Terms.
-
-  You may not offer or impose any terms on any Covered Software in
-  Source Code form that alters or restricts the applicable version of
-  this License or the recipients' rights hereunder. You may choose to
-  offer, and to charge a fee for, warranty, support, indemnity or
-  liability obligations to one or more recipients of Covered Software.
-  However, you may do so only on Your own behalf, and not on behalf of
-  the Initial Developer or any Contributor. You must make it
-  absolutely clear that any such warranty, support, indemnity or
-  liability obligation is offered by You alone, and You hereby agree
-  to indemnify the Initial Developer and every Contributor for any
-  liability incurred by the Initial Developer or such Contributor as a
-  result of warranty, support, indemnity or liability terms You offer.
-
-  3.5. Distribution of Executable Versions.
-
-  You may distribute the Executable form of the Covered Software under
-  the terms of this License or under the terms of a license of Your
-  choice, which may contain terms different from this License,
-  provided that You are in compliance with the terms of this License
-  and that the license for the Executable form does not attempt to
-  limit or alter the recipient's rights in the Source Code form from
-  the rights set forth in this License. If You distribute the Covered
-  Software in Executable form under a different license, You must make
-  it absolutely clear that any terms which differ from this License
-  are offered by You alone, not by the Initial Developer or
-  Contributor. You hereby agree to indemnify the Initial Developer and
-  every Contributor for any liability incurred by the Initial
-  Developer or such Contributor as a result of any such terms You offer.
-
-  3.6. Larger Works.
-
-  You may create a Larger Work by combining Covered Software with
-  other code not governed by the terms of this License and distribute
-  the Larger Work as a single product. In such a case, You must make
-  sure the requirements of this License are fulfilled for the Covered
-  Software.
-
-4. Versions of the License.
-
-  4.1. New Versions.
-
-  Oracle is the initial license steward and may publish revised and/or
-  new versions of this License from time to time. Each version will be
-  given a distinguishing version number. Except as provided in Section
-  4.3, no one other than the license steward has the right to modify
-  this License.
-
-  4.2. Effect of New Versions.
-
-  You may always continue to use, distribute or otherwise make the
-  Covered Software available under the terms of the version of the
-  License under which You originally received the Covered Software. If
-  the Initial Developer includes a notice in the Original Software
-  prohibiting it from being distributed or otherwise made available
-  under any subsequent version of the License, You must distribute and
-  make the Covered Software available under the terms of the version
-  of the License under which You originally received the Covered
-  Software. Otherwise, You may also choose to use, distribute or
-  otherwise make the Covered Software available under the terms of any
-  subsequent version of the License published by the license steward.
-
-  4.3. Modified Versions.
-
-  When You are an Initial Developer and You want to create a new
-  license for Your Original Software, You may create and use a
-  modified version of this License if You: (a) rename the license and
-  remove any references to the name of the license steward (except to
-  note that the license differs from this License); and (b) otherwise
-  make it clear that the license contains terms which differ from this
-  License.
-
-5. DISCLAIMER OF WARRANTY.
-
-  COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
-  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
-  INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE
-  IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
-  NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
-  THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE
-  DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
-  OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
-  REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
-  ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS
-  AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-6. TERMINATION.
-
-  6.1. This License and the rights granted hereunder will terminate
-  automatically if You fail to comply with terms herein and fail to
-  cure such breach within 30 days of becoming aware of the breach.
-  Provisions which, by their nature, must remain in effect beyond the
-  termination of this License shall survive.
-
-  6.2. If You assert a patent infringement claim (excluding
-  declaratory judgment actions) against Initial Developer or a
-  Contributor (the Initial Developer or Contributor against whom You
-  assert such claim is referred to as "Participant") alleging that the
-  Participant Software (meaning the Contributor Version where the
-  Participant is a Contributor or the Original Software where the
-  Participant is the Initial Developer) directly or indirectly
-  infringes any patent, then any and all rights granted directly or
-  indirectly to You by such Participant, the Initial Developer (if the
-  Initial Developer is not the Participant) and all Contributors under
-  Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice
-  from Participant terminate prospectively and automatically at the
-  expiration of such 60 day notice period, unless if within such 60
-  day period You withdraw Your claim with respect to the Participant
-  Software against such Participant either unilaterally or pursuant to
-  a written agreement with Participant.
-
-  6.3. If You assert a patent infringement claim against Participant
-  alleging that the Participant Software directly or indirectly
-  infringes any patent where such claim is resolved (such as by
-  license or settlement) prior to the initiation of patent
-  infringement litigation, then the reasonable value of the licenses
-  granted by such Participant under Sections 2.1 or 2.2 shall be taken
-  into account in determining the amount or value of any payment or
-  license.
-
-  6.4. In the event of termination under Sections 6.1 or 6.2 above,
-  all end user licenses that have been validly granted by You or any
-  distributor hereunder prior to termination (excluding licenses
-  granted to You by any distributor) shall survive termination.
-
-7. LIMITATION OF LIABILITY.
-
-  UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
-  (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
-  INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
-  COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE
-  TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
-  CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
-  LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
-  FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR
-  LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE
-  POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT
-  APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH
-  PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH
-  LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
-  LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION
-  AND LIMITATION MAY NOT APPLY TO YOU.
-
-8. U.S. GOVERNMENT END USERS.
-
-  The Covered Software is a "commercial item," as that term is defined
-  in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
-  software" (as that term is defined at 48 C.F.R. §
-  252.227-7014(a)(1)) and "commercial computer software documentation"
-  as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent
-  with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4
-  (June 1995), all U.S. Government End Users acquire Covered Software
-  with only those rights set forth herein. This U.S. Government Rights
-  clause is in lieu of, and supersedes, any other FAR, DFAR, or other
-  clause or provision that addresses Government rights in computer
-  software under this License.
-
-9. MISCELLANEOUS.
-
-  This License represents the complete agreement concerning subject
-  matter hereof. If any provision of this License is held to be
-  unenforceable, such provision shall be reformed only to the extent
-  necessary to make it enforceable. This License shall be governed by
-  the law of the jurisdiction specified in a notice contained within
-  the Original Software (except to the extent applicable law, if any,
-  provides otherwise), excluding such jurisdiction's conflict-of-law
-  provisions. Any litigation relating to this License shall be subject
-  to the jurisdiction of the courts located in the jurisdiction and
-  venue specified in a notice contained within the Original Software,
-  with the losing party responsible for costs, including, without
-  limitation, court costs and reasonable attorneys' fees and expenses.
-  The application of the United Nations Convention on Contracts for
-  the International Sale of Goods is expressly excluded. Any law or
-  regulation which provides that the language of a contract shall be
-  construed against the drafter shall not apply to this License. You
-  agree that You alone are responsible for compliance with the United
-  States export administration regulations (and the export control
-  laws and regulation of any other countries) when You use, distribute
-  or otherwise make available any Covered Software.
-
-10. RESPONSIBILITY FOR CLAIMS.
-
-  As between Initial Developer and the Contributors, each party is
-  responsible for claims and damages arising, directly or indirectly,
-  out of its utilization of rights under this License and You agree to
-  work with Initial Developer and Contributors to distribute such
-  responsibility on an equitable basis. Nothing herein is intended or
-  shall be deemed to constitute any admission of liability.
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.jsch b/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.jsch
deleted file mode 100644
index edd491d..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.jsch
+++ /dev/null
@@ -1,30 +0,0 @@
-JSch 0.0.* was released under the GNU LGPL license.  Later, we have switched
-over to a BSD-style license.
-
-------------------------------------------------------------------------------
-Copyright (c) 2002-2015 Atsuhiko Yamanaka, JCraft,Inc.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-  1. Redistributions of source code must retain the above copyright notice,
-     this list of conditions and the following disclaimer.
-
-  2. Redistributions in binary form must reproduce the above copyright
-     notice, this list of conditions and the following disclaimer in
-     the documentation and/or other materials provided with the distribution.
-
-  3. The names of the authors may not be used to endorse or promote products
-     derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
-INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
-OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.paranamer b/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.paranamer
deleted file mode 100644
index 522176f..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.paranamer
+++ /dev/null
@@ -1,28 +0,0 @@
-[ ParaNamer used to be 'Pubic Domain', but since it includes a small piece of ASM it is now the same license as that: BSD ]
-
- Copyright (c) 2006 Paul Hammant & ThoughtWorks Inc
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
-    notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
-    notice, this list of conditions and the following disclaimer in the
-    documentation and/or other materials provided with the distribution.
- 3. Neither the name of the copyright holders nor the names of its
-    contributors may be used to endorse or promote products derived from
-    this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.xmlenc b/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.xmlenc
deleted file mode 100644
index 3a70c9b..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.xmlenc
+++ /dev/null
@@ -1,27 +0,0 @@
-Copyright 2003-2005, Ernst de Haan <wf...@gmail.com>
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
-   list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
-   this list of conditions and the following disclaimer in the documentation
-   and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its contributors
-   may be used to endorse or promote products derived from this software
-   without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml b/flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
deleted file mode 100644
index 766d3e0..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
+++ /dev/null
@@ -1,828 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-	<modelVersion>4.0.0</modelVersion>
-
-	<parent>
-		<groupId>org.apache.flink</groupId>
-		<artifactId>flink-shaded-hadoop</artifactId>
-		<version>1.9-SNAPSHOT</version>
-		<relativePath>..</relativePath>
-	</parent>
-
-	<artifactId>flink-shaded-hadoop2</artifactId>
-	<name>flink-shaded-hadoop2</name>
-
-	<packaging>jar</packaging>
-	<version>${hadoop.version}-1.9-SNAPSHOT</version>
-
-	<dependencies>
-
-		<!-- explicitly include commons-compress to force Flink's managed version -->
-		<dependency>
-			<groupId>org.apache.commons</groupId>
-			<artifactId>commons-compress</artifactId>
-			<!-- managed version -->
-		</dependency>
-
-		<!-- explicitly include avro to force Flink's managed version -->
-		<dependency>
-			<groupId>org.apache.avro</groupId>
-			<artifactId>avro</artifactId>
-			<!-- managed version -->
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-common</artifactId>
-			<version>${hadoop.version}</version>
-			<exclusions>
-				<exclusion>
-					<groupId>asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.ow2.asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty-util</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-api-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.eclipse.jdt</groupId>
-					<artifactId>core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-json</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.codehaus.jettison</groupId>
-					<artifactId>jettison</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>javax.servlet.jsp</groupId>
-					<artifactId>jsp-api</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-framework</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-rcm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish</groupId>
-					<artifactId>javax.servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.contribs</groupId>
-					<artifactId>jersey-guice</artifactId>
-				</exclusion>
-				<!--We have to exclude beanutils because it is overlapping with commons-collections-->
-				<exclusion>
-					<groupId>commons-beanutils</groupId>
-					<artifactId>commons-beanutils</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-
-		<!--Here we include all the missing parts of beanutils which are not included in the
-		commons-collections dependency-->
-		<dependency>
-			<groupId>commons-beanutils</groupId>
-			<artifactId>commons-beanutils</artifactId>
-			<version>1.9.3</version>
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-hdfs</artifactId>
-			<version>${hadoop.version}</version>
-			<exclusions>
-				<exclusion>
-					<groupId>asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.ow2.asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty-util</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-api-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.eclipse.jdt</groupId>
-					<artifactId>core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-json</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.codehaus.jettison</groupId>
-					<artifactId>jettison</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>javax.servlet.jsp</groupId>
-					<artifactId>jsp-api</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-framework</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-rcm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish</groupId>
-					<artifactId>javax.servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.contribs</groupId>
-					<artifactId>jersey-guice</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-mapreduce-client-core</artifactId>
-			<version>${hadoop.version}</version>
-			<exclusions>
-				<exclusion>
-					<groupId>asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.ow2.asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty-util</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-api-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.eclipse.jdt</groupId>
-					<artifactId>core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.apache.hadoop</groupId>
-					<artifactId>hadoop-yarn-common</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.google.inject.extensions</groupId>
-					<artifactId>guice-servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>io.netty</groupId>
-					<artifactId>netty</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-json</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.codehaus.jettison</groupId>
-					<artifactId>jettison</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>javax.servlet.jsp</groupId>
-					<artifactId>jsp-api</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-framework</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-rcm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish</groupId>
-					<artifactId>javax.servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.contribs</groupId>
-					<artifactId>jersey-guice</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-yarn-client</artifactId>
-			<version>${hadoop.version}</version>
-			<exclusions>
-				<exclusion>
-					<groupId>asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.ow2.asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty-util</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-api-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.eclipse.jdt</groupId>
-					<artifactId>core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.apache.hadoop</groupId>
-					<artifactId>hadoop-yarn-common</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.google.inject.extensions</groupId>
-					<artifactId>guice-servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>io.netty</groupId>
-					<artifactId>netty</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-json</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.codehaus.jettison</groupId>
-					<artifactId>jettison</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>javax.servlet.jsp</groupId>
-					<artifactId>jsp-api</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-framework</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-rcm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish</groupId>
-					<artifactId>javax.servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.contribs</groupId>
-					<artifactId>jersey-guice</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-yarn-common</artifactId>
-			<version>${hadoop.version}</version>
-			<exclusions>
-				<exclusion>
-					<groupId>asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.ow2.asm</groupId>
-					<artifactId>asm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jetty-util</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-api-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.mortbay.jetty</groupId>
-					<artifactId>jsp-2.1</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.eclipse.jdt</groupId>
-					<artifactId>core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.apache.hadoop</groupId>
-					<artifactId>hadoop-yarn-common</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.google.inject.extensions</groupId>
-					<artifactId>guice-servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>io.netty</groupId>
-					<artifactId>netty</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-json</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.codehaus.jettison</groupId>
-					<artifactId>jettison</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-compiler</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>tomcat</groupId>
-					<artifactId>jasper-runtime</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>javax.servlet.jsp</groupId>
-					<artifactId>jsp-api</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.jersey-test-framework</groupId>
-					<artifactId>jersey-test-framework-core</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey</groupId>
-					<artifactId>jersey-grizzly2</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-framework</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-server</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-rcm</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish.grizzly</groupId>
-					<artifactId>grizzly-http-servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.glassfish</groupId>
-					<artifactId>javax.servlet</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.sun.jersey.contribs</groupId>
-					<artifactId>jersey-guice</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>com.google.inject</groupId>
-					<artifactId>guice</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-	</dependencies>
-
-	<profiles>
-		<profile>
-			<!-- MapR build profile -->
-			<id>mapr</id>
-			<activation>
-				<property>
-					<name>mapr</name>
-				</property>
-			</activation>
-			<dependencies>
-				<dependency>
-					<groupId>org.apache.hadoop</groupId>
-					<artifactId>hadoop-common</artifactId>
-					<version>${hadoop.version}</version>
-					<exclusions>
-						<!--
-							for MapR builds, we additionally exclude the MapR dependencies to not be
-							bundled with Flink, ensuring that the native MapR libraries will be used
-							and avoid incompatibitilies
-						-->
-						<exclusion>
-							<groupId>com.mapr.hadoop</groupId>
-							<artifactId>maprfs-core</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.mapr.hadoop</groupId>
-							<artifactId>hadoop2</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.mapr.hadoop</groupId>
-							<artifactId>maprfs</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.mapr.hadoop</groupId>
-							<artifactId>maprfs-diagnostic-tools</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.mapr.hadoop</groupId>
-							<artifactId>maprfs-jni</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.mapr.fs</groupId>
-							<artifactId>libprotodefs</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.mapr.fs</groupId>
-							<artifactId>mapr-hbase</artifactId>
-						</exclusion>
-
-						<exclusion>
-							<groupId>asm</groupId>
-							<artifactId>asm</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.ow2.asm</groupId>
-							<artifactId>asm</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>tomcat</groupId>
-							<artifactId>jasper-compiler</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>tomcat</groupId>
-							<artifactId>jasper-runtime</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.mortbay.jetty</groupId>
-							<artifactId>jetty</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.mortbay.jetty</groupId>
-							<artifactId>jsp-api-2.1</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.mortbay.jetty</groupId>
-							<artifactId>jsp-2.1</artifactId>
-						</exclusion>
-
-						<exclusion>
-							<groupId>org.eclipse.jdt</groupId>
-							<artifactId>core</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.mortbay.jetty</groupId>
-							<artifactId>jetty</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.sun.jersey</groupId>
-							<artifactId>jersey-json</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.codehaus.jettison</groupId>
-							<artifactId>jettison</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.sun.jersey</groupId>
-							<artifactId>jersey-server</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>tomcat</groupId>
-							<artifactId>jasper-compiler</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>tomcat</groupId>
-							<artifactId>jasper-runtime</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>javax.servlet.jsp</groupId>
-							<artifactId>jsp-api</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.sun.jersey.jersey-test-framework</groupId>
-							<artifactId>jersey-test-framework-grizzly2</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.sun.jersey.jersey-test-framework</groupId>
-							<artifactId>jersey-test-framework-core</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.sun.jersey</groupId>
-							<artifactId>jersey-grizzly2</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.glassfish.grizzly</groupId>
-							<artifactId>grizzly-http</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.glassfish.grizzly</groupId>
-							<artifactId>grizzly-framework</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.glassfish.grizzly</groupId>
-							<artifactId>grizzly-http-server</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.glassfish.grizzly</groupId>
-							<artifactId>grizzly-rcm</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.glassfish.grizzly</groupId>
-							<artifactId>grizzly-http-servlet</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>org.glassfish</groupId>
-							<artifactId>javax.servlet</artifactId>
-						</exclusion>
-						<exclusion>
-							<groupId>com.sun.jersey.contribs</groupId>
-							<artifactId>jersey-guice</artifactId>
-						</exclusion>
-						<!--We have to exclude beanutils because it is overlapping with commons-collections-->
-						<exclusion>
-							<groupId>commons-beanutils</groupId>
-							<artifactId>commons-beanutils</artifactId>
-						</exclusion>
-					</exclusions>
-				</dependency>
-			</dependencies>
-		</profile>
-	</profiles>
-</project>
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2/src/main/resources/META-INF/NOTICE b/flink-shaded-hadoop/flink-shaded-hadoop2/src/main/resources/META-INF/NOTICE
deleted file mode 100644
index fb2db40..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2/src/main/resources/META-INF/NOTICE
+++ /dev/null
@@ -1,31 +0,0 @@
-flink-shaded-hadoop2
-Copyright 2014-2019 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
-
-- com.google.guava:guava:11.0.2
-- net.java.dev.jets3t:jets3t:0.9.0
-- org.apache.httpcomponents:httpclient:4.5.3
-- org.apache.httpcomponents:httpcore:4.4.6
-- commons-httpclient:commons-httpclient:3.1
-- org.codehaus.jackson:jackson-core-asl:1.9.13
-- org.codehaus.jackson:jackson-mapper-asl:1.9.13
-
-The version of the actual Hadoop dependencies depend on the built.
-
-- org.apache.hadoop:hadoop-common
-- org.apache.hadoop:hadoop-hdfs
-- org.apache.hadoop:hadoop-mapreduce-client-core
-- org.apache.hadoop:hadoop-yarn-client
-- org.apache.hadoop:hadoop-yarn-common
-- org.apache.hadoop:hadoop-annotations
-- org.apache.hadoop:hadoop-auth
-- org.apache.hadoop:hadoop-yarn-api
-
-This project bundles the following dependencies under the BSD license.
-See bundled license files for details.
-
-- com.google.protobuf.protobuf-java:2.5.0
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2/src/main/resources/META-INF/licenses/LICENSE.protobuf b/flink-shaded-hadoop/flink-shaded-hadoop2/src/main/resources/META-INF/licenses/LICENSE.protobuf
deleted file mode 100644
index 19b305b..0000000
--- a/flink-shaded-hadoop/flink-shaded-hadoop2/src/main/resources/META-INF/licenses/LICENSE.protobuf
+++ /dev/null
@@ -1,32 +0,0 @@
-Copyright 2008 Google Inc.  All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-    * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-    * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-    * Neither the name of Google Inc. nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Code generated by the Protocol Buffer compiler is owned by the owner
-of the input file used when generating it.  This code is not
-standalone and requires a support library to be linked with it.  This
-support library is itself covered by the above license.
diff --git a/flink-shaded-hadoop/flink-shaded-yarn-tests/pom.xml b/flink-shaded-hadoop/flink-shaded-yarn-tests/pom.xml
deleted file mode 100644
index 80c1bdcbd..0000000
--- a/flink-shaded-hadoop/flink-shaded-yarn-tests/pom.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-	<modelVersion>4.0.0</modelVersion>
-
-	<parent>
-		<groupId>org.apache.flink</groupId>
-		<artifactId>flink-shaded-hadoop</artifactId>
-		<version>1.9-SNAPSHOT</version>
-		<relativePath>..</relativePath>
-	</parent>
-
-	<artifactId>flink-shaded-yarn-tests</artifactId>
-	<name>flink-shaded-yarn-tests</name>
-
-	<packaging>jar</packaging>
-
-	<dependencies>
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-common</artifactId>
-			<version>${hadoop.version}</version>
-		</dependency>
-		<!-- NOTE: We do not exclude hadoop's dependencies so that the tests start properly (in particular jetty) -->
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-yarn-server-tests</artifactId>
-			<version>${hadoop.version}</version>
-		</dependency>
-
-		<!-- Add test-jar as well -->
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-yarn-server-tests</artifactId>
-			<version>${hadoop.version}</version>
-			<type>test-jar</type>
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-minicluster</artifactId>
-			<version>${hadoop.version}</version>
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.hadoop</groupId>
-			<artifactId>hadoop-yarn-server-resourcemanager</artifactId>
-			<version>${hadoop.version}</version>
-		</dependency>
-
-	</dependencies>
-
-</project>
diff --git a/flink-shaded-hadoop/pom.xml b/flink-shaded-yarn-tests/pom.xml
similarity index 77%
rename from flink-shaded-hadoop/pom.xml
rename to flink-shaded-yarn-tests/pom.xml
index e480039..8ee5e74 100644
--- a/flink-shaded-hadoop/pom.xml
+++ b/flink-shaded-yarn-tests/pom.xml
@@ -29,16 +29,10 @@ under the License.
 		<relativePath>..</relativePath>
 	</parent>
 
-	<artifactId>flink-shaded-hadoop</artifactId>
-	<name>flink-shaded-hadoop</name>
+	<artifactId>flink-shaded-yarn-tests</artifactId>
+	<name>flink-shaded-yarn-tests</name>
 
-	<packaging>pom</packaging>
-
-	<modules>
-		<module>flink-shaded-hadoop2</module>
-		<module>flink-shaded-hadoop2-uber</module>
-		<module>flink-shaded-yarn-tests</module>
-	</modules>
+	<packaging>jar</packaging>
 
 	<dependencies>
 		<!-- drop dependencies that are already provided by Flink from the shaded / uber jars -->
@@ -52,8 +46,40 @@ under the License.
 			<artifactId>slf4j-api</artifactId>
 			<scope>provided</scope>
 		</dependency>
-	</dependencies>
 
+		<dependency>
+			<groupId>org.apache.hadoop</groupId>
+			<artifactId>hadoop-common</artifactId>
+			<version>${hadoop.version}</version>
+		</dependency>
+		<!-- NOTE: We do not exclude hadoop's dependencies so that the tests start properly (in particular jetty) -->
+		<dependency>
+			<groupId>org.apache.hadoop</groupId>
+			<artifactId>hadoop-yarn-server-tests</artifactId>
+			<version>${hadoop.version}</version>
+		</dependency>
+
+		<!-- Add test-jar as well -->
+		<dependency>
+			<groupId>org.apache.hadoop</groupId>
+			<artifactId>hadoop-yarn-server-tests</artifactId>
+			<version>${hadoop.version}</version>
+			<type>test-jar</type>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.hadoop</groupId>
+			<artifactId>hadoop-minicluster</artifactId>
+			<version>${hadoop.version}</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.hadoop</groupId>
+			<artifactId>hadoop-yarn-server-resourcemanager</artifactId>
+			<version>${hadoop.version}</version>
+		</dependency>
+
+	</dependencies>
 	<build>
 		<plugins>
 			<plugin>
@@ -146,42 +172,42 @@ under the License.
 							<relocations>
 								<relocation>
 									<pattern>com.google</pattern>
-									<shadedPattern>org.apache.flink.hadoop.shaded.com.google</shadedPattern>
+									<shadedPattern>org.apache.flink.hadoop2.shaded.com.google</shadedPattern>
 									<excludes>
 										<exclude>com.google.inject.**</exclude>
 									</excludes>
 								</relocation>
 								<relocation>
 									<pattern>org.objectweb.asm</pattern>
-									<shadedPattern>org.apache.flink.hadoop.shaded.org.objectweb.asm</shadedPattern>
+									<shadedPattern>org.apache.flink.hadoop2.shaded.org.objectweb.asm</shadedPattern>
 								</relocation>
 								<relocation>
 									<pattern>org.jboss.netty</pattern>
-									<shadedPattern>org.apache.flink.hadoop.shaded.org.jboss.netty</shadedPattern>
+									<shadedPattern>org.apache.flink.hadoop2.shaded.org.jboss.netty</shadedPattern>
 								</relocation>
 								<relocation>
 									<pattern>io.netty</pattern>
-									<shadedPattern>org.apache.flink.hadoop.shaded.io.netty</shadedPattern>
+									<shadedPattern>org.apache.flink.hadoop2.shaded.io.netty</shadedPattern>
 								</relocation>
 								<relocation>
 									<pattern>org.apache.curator</pattern>
-									<shadedPattern>org.apache.flink.hadoop.shaded.org.apache.curator</shadedPattern>
+									<shadedPattern>org.apache.flink.hadoop2.shaded.org.apache.curator</shadedPattern>
 								</relocation>
 								<relocation>
 									<pattern>org.apache.http</pattern>
-									<shadedPattern>org.apache.flink.hadoop.shaded.org.apache.http</shadedPattern>
+									<shadedPattern>org.apache.flink.hadoop2.shaded.org.apache.http</shadedPattern>
 								</relocation>
 								<relocation>
 									<pattern>org.apache.commons.httpclient</pattern>
-									<shadedPattern>org.apache.flink.hadoop.shaded.org.apache.commons.httpclient</shadedPattern>
+									<shadedPattern>org.apache.flink.hadoop2.shaded.org.apache.commons.httpclient</shadedPattern>
 								</relocation>
 								<relocation>
 									<pattern>org.htrace</pattern>
-									<shadedPattern>org.apache.flink.hadoop.shaded.org.htrace</shadedPattern>
+									<shadedPattern>org.apache.flink.hadoop2.shaded.org.htrace</shadedPattern>
 								</relocation>
 								<relocation>
 									<pattern>org.codehaus.jackson</pattern>
-									<shadedPattern>org.apache.flink.hadoop.shaded.org.codehaus.jackson</shadedPattern>
+									<shadedPattern>org.apache.flink.hadoop2.shaded.org.codehaus.jackson</shadedPattern>
 								</relocation>
 							</relocations>
 						</configuration>
diff --git a/flink-shaded-hadoop/flink-shaded-yarn-tests/src/main/resources/META-INF/NOTICE b/flink-shaded-yarn-tests/src/main/resources/META-INF/NOTICE
similarity index 100%
rename from flink-shaded-hadoop/flink-shaded-yarn-tests/src/main/resources/META-INF/NOTICE
rename to flink-shaded-yarn-tests/src/main/resources/META-INF/NOTICE
diff --git a/flink-shaded-hadoop/flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.asm b/flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.asm
similarity index 100%
rename from flink-shaded-hadoop/flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.asm
rename to flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.asm
diff --git a/flink-shaded-hadoop/flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.protobuf b/flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.protobuf
similarity index 100%
rename from flink-shaded-hadoop/flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.protobuf
rename to flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.protobuf
diff --git a/flink-tests/pom.xml b/flink-tests/pom.xml
index 95451b2..b749dc1 100644
--- a/flink-tests/pom.xml
+++ b/flink-tests/pom.xml
@@ -54,8 +54,8 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>test</scope>
 		</dependency>
 
diff --git a/flink-yarn-tests/pom.xml b/flink-yarn-tests/pom.xml
index 709ab87..df55af0 100644
--- a/flink-yarn-tests/pom.xml
+++ b/flink-yarn-tests/pom.xml
@@ -126,15 +126,15 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>test</scope>
 		</dependency>
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2-uber</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2-uber</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 			<scope>test</scope>
 		</dependency>
 
@@ -340,8 +340,8 @@ under the License.
 					<artifactItems>
 						<artifactItem>
 							<groupId>org.apache.flink</groupId>
-							<artifactId>flink-shaded-hadoop2-uber</artifactId>
-							<version>${hadoop.version}-${project.version}</version>
+							<artifactId>flink-shaded-hadoop-2-uber</artifactId>
+							<version>${hadoop.version}-${flink.shaded.version}</version>
 							<type>jar</type>
 							<overWrite>true</overWrite>
 							<outputDirectory>${project.build.directory}/shaded-hadoop</outputDirectory>
diff --git a/flink-yarn/pom.xml b/flink-yarn/pom.xml
index 25285db..bbccefb 100644
--- a/flink-yarn/pom.xml
+++ b/flink-yarn/pom.xml
@@ -55,8 +55,8 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-shaded-hadoop2</artifactId>
-			<version>${hadoop.version}-${project.version}</version>
+			<artifactId>flink-shaded-hadoop-2</artifactId>
+			<version>${hadoop.version}-${flink.shaded.version}</version>
 		</dependency>
 
 		<!-- test dependencies -->
diff --git a/pom.xml b/pom.xml
index edfdcc9..60dafcb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -53,7 +53,6 @@ under the License.
 		<!-- Dummy module to force execution of the Maven Shade plugin (see Shade plugin below) -->
 		<module>tools/force-shading</module>
 		<module>flink-annotations</module>
-		<module>flink-shaded-hadoop</module>
 		<module>flink-shaded-curator</module>
 		<module>flink-core</module>
 		<module>flink-java</module>
@@ -82,6 +81,7 @@ under the License.
 		<module>flink-mesos</module>
 		<module>flink-metrics</module>
 		<module>flink-yarn</module>
+		<module>flink-shaded-yarn-tests</module>
 		<module>flink-yarn-tests</module>
 		<module>flink-fs-tests</module>
 		<module>flink-docs</module>
@@ -240,7 +240,7 @@ under the License.
 						asm,
 						netty
 					here. It will overwrite Hadoop's guava dependency (even though we handle it
-			separatly in the flink-shaded-hadoop module).
+			separatly in the flink-shaded-hadoop-2 dependency).
 		-->
 		<dependencies>
 
diff --git a/tools/releasing/create_binary_release.sh b/tools/releasing/create_binary_release.sh
index 7790bea..0a94c7c 100755
--- a/tools/releasing/create_binary_release.sh
+++ b/tools/releasing/create_binary_release.sh
@@ -21,7 +21,6 @@
 ## Variables with defaults (if not overwritten by environment)
 ##
 SCALA_VERSION=${SCALA_VERSION:-none}
-HADOOP_VERSION=${HADOOP_VERSION:-none}
 SKIP_GPG=${SKIP_GPG:-false}
 MVN=${MVN:-mvn}
 
@@ -58,21 +57,16 @@ mkdir -p ${RELEASE_DIR}
 
 # build maven package, create Flink distribution, generate signature
 make_binary_release() {
-  NAME=$1
-  FLAGS=$2
-  SCALA_VERSION=$3
+  FLAGS=""
+  SCALA_VERSION=$1
 
-  echo "Creating binary release name: $NAME, flags: $FLAGS, SCALA_VERSION: ${SCALA_VERSION}"
-  if [[ -z $NAME ]]; then
-    dir_name="flink-$RELEASE_VERSION-bin-scala_${SCALA_VERSION}"
-  else
-    dir_name="flink-$RELEASE_VERSION-bin-$NAME-scala_${SCALA_VERSION}"
-  fi
+  echo "Creating binary release, SCALA_VERSION: ${SCALA_VERSION}"
+  dir_name="flink-$RELEASE_VERSION-bin-scala_${SCALA_VERSION}"
 
   if [ $SCALA_VERSION = "2.12" ]; then
-      FLAGS="$FLAGS -Dscala-2.12"
+      FLAGS="-Dscala-2.12"
   elif [ $SCALA_VERSION = "2.11" ]; then
-      FLAGS="$FLAGS -Dscala-2.11"
+      FLAGS="-Dscala-2.11"
   else
       echo "Invalid Scala version ${SCALA_VERSION}"
   fi
@@ -95,15 +89,9 @@ make_binary_release() {
   cd ${FLINK_DIR}
 }
 
-if [ "$SCALA_VERSION" == "none" ] && [ "$HADOOP_VERSION" == "none" ]; then
-  make_binary_release "" "" "2.12"
-  make_binary_release "" "" "2.11"
-elif [ "$SCALA_VERSION" == none ] && [ "$HADOOP_VERSION" != "none" ]
-then
-  make_binary_release "hadoop2" "-Pinclude-hadoop -Dhadoop.version=$HADOOP_VERSION" "2.11"
-elif [ "$SCALA_VERSION" != none ] && [ "$HADOOP_VERSION" == "none" ]
-then
-  make_binary_release "" "" "$SCALA_VERSION"
+if [ "$SCALA_VERSION" == "none" ]; then
+  make_binary_release "2.12"
+  make_binary_release "2.11"
 else
-  make_binary_release "hadoop2x" "-Pinclude-hadoop -Dhadoop.version=$HADOOP_VERSION" "$SCALA_VERSION"
+  make_binary_release "$SCALA_VERSION"
 fi
diff --git a/tools/releasing/deploy_staging_jars.sh b/tools/releasing/deploy_staging_jars.sh
index 40c3662..00bf7df 100755
--- a/tools/releasing/deploy_staging_jars.sh
+++ b/tools/releasing/deploy_staging_jars.sh
@@ -47,12 +47,3 @@ $MVN clean deploy $COMMON_OPTIONS -Dscala-2.11
 
 echo "Deploying Scala 2.12 version"
 $MVN clean deploy $COMMON_OPTIONS -Dscala-2.12
-
-COMMON_HADOOP_OPTIONS="-pl flink-shaded-hadoop/flink-shaded-hadoop2,flink-shaded-hadoop/flink-shaded-hadoop2-uber"
-
-HADOOP_VERSIONS=("2.4.1" "2.6.5" "2.7.5" "2.8.3")
-
-for i in "${!HADOOP_VERSIONS[@]}"; do
-echo "Deploying flink-shaded-hadoop $HADOOP_VERSIONS[$i] version"
-    $MVN clean deploy $COMMON_OPTIONS $COMMON_HADOOP_OPTIONS "-Dhadoop.version=${HADOOP_VERSIONS[$i]}"
-done