From ee4a2f7e247bfd687670026d0bb20eb8ee043b2d Mon Sep 17 00:00:00 2001 From: Jincheng Sun Date: Wed, 19 Jun 2019 19:31:12 +0800 Subject: [PATCH] [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-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 -- .../META-INF/licenses/LICENSE.cddlv1.0 | 129 --- .../META-INF/licenses/LICENSE.cddlv1.1 | 348 -------- .../resources/META-INF/licenses/LICENSE.jsch | 30 - .../META-INF/licenses/LICENSE.paranamer | 28 - .../META-INF/licenses/LICENSE.xmlenc | 27 - .../flink-shaded-hadoop2/pom.xml | 828 ------------------ .../src/main/resources/META-INF/NOTICE | 31 - .../flink-shaded-yarn-tests/pom.xml | 72 -- .../META-INF/licenses/LICENSE.protobuf | 32 - .../pom.xml | 64 +- .../src/main/resources/META-INF/NOTICE | 0 .../resources/META-INF/licenses/LICENSE.asm | 0 .../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(-) delete mode 100644 flink-shaded-hadoop/flink-shaded-hadoop2-uber/pom.xml delete mode 100644 flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/NOTICE delete mode 100644 flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.cddlv1.0 delete mode 100644 flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.cddlv1.1 delete mode 100644 flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.jsch delete mode 100644 flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.paranamer delete mode 100644 flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.xmlenc delete mode 100644 flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml delete mode 100644 flink-shaded-hadoop/flink-shaded-hadoop2/src/main/resources/META-INF/NOTICE delete mode 100644 flink-shaded-hadoop/flink-shaded-yarn-tests/pom.xml delete mode 100644 flink-shaded-hadoop/flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.protobuf rename {flink-shaded-hadoop => flink-shaded-yarn-tests}/pom.xml (77%) rename {flink-shaded-hadoop/flink-shaded-yarn-tests => flink-shaded-yarn-tests}/src/main/resources/META-INF/NOTICE (100%) rename {flink-shaded-hadoop/flink-shaded-yarn-tests => flink-shaded-yarn-tests}/src/main/resources/META-INF/licenses/LICENSE.asm (100%) rename {flink-shaded-hadoop/flink-shaded-hadoop2 => flink-shaded-yarn-tests}/src/main/resources/META-INF/licenses/LICENSE.protobuf (100%) diff --git a/flink-connectors/flink-connector-filesystem/pom.xml b/flink-connectors/flink-connector-filesystem/pom.xml index 950664b827460..0202986381631 100644 --- a/flink-connectors/flink-connector-filesystem/pom.xml +++ b/flink-connectors/flink-connector-filesystem/pom.xml @@ -52,8 +52,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} provided diff --git a/flink-connectors/flink-hadoop-compatibility/pom.xml b/flink-connectors/flink-hadoop-compatibility/pom.xml index 30ea172be4bfc..d6b5d54e28c55 100644 --- a/flink-connectors/flink-hadoop-compatibility/pom.xml +++ b/flink-connectors/flink-hadoop-compatibility/pom.xml @@ -62,8 +62,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} provided diff --git a/flink-connectors/flink-hbase/pom.xml b/flink-connectors/flink-hbase/pom.xml index d41bb45c30bf9..63580d2fc8483 100644 --- a/flink-connectors/flink-hbase/pom.xml +++ b/flink-connectors/flink-hbase/pom.xml @@ -110,8 +110,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} provided diff --git a/flink-connectors/flink-hcatalog/pom.xml b/flink-connectors/flink-hcatalog/pom.xml index 5a437f8e4c8bd..6a3d15968e48a 100644 --- a/flink-connectors/flink-hcatalog/pom.xml +++ b/flink-connectors/flink-hcatalog/pom.xml @@ -68,8 +68,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} provided diff --git a/flink-connectors/flink-orc/pom.xml b/flink-connectors/flink-orc/pom.xml index 217074d4dc076..5e0f6d1c360bf 100644 --- a/flink-connectors/flink-orc/pom.xml +++ b/flink-connectors/flink-orc/pom.xml @@ -79,8 +79,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} provided diff --git a/flink-dist/pom.xml b/flink-dist/pom.xml index 8dd16bdd42d2c..fd3b9aec26044 100644 --- a/flink-dist/pom.xml +++ b/flink-dist/pom.xml @@ -135,7 +135,7 @@ under the License. org.apache.flink - flink-shaded-hadoop2 + flink-shaded-hadoop-2 @@ -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. --> - org.apache.flink - flink-shaded-hadoop2-uber - ${hadoop.version}-${project.version} - + flink-shaded-hadoop-2-uber + ${hadoop.version}-${flink.shaded.version} provided diff --git a/flink-dist/src/main/assemblies/hadoop.xml b/flink-dist/src/main/assemblies/hadoop.xml index deca87fb1e5d5..7a3ebc4e74883 100644 --- a/flink-dist/src/main/assemblies/hadoop.xml +++ b/flink-dist/src/main/assemblies/hadoop.xml @@ -28,13 +28,14 @@ under the License. true flink-${project.version} - - - - ../flink-shaded-hadoop/flink-shaded-hadoop2-uber/target/flink-shaded-hadoop2-uber-${hadoop.version}-${project.version}.jar + + lib/ - flink-shaded-hadoop2-uber-${project.version}-${hadoop.version}.jar - 0644 - - + true + provided + + org.apache.flink:flink-shaded-hadoop-2-uber + + + 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 7b015f7a3b9e8..6f661596a38b5 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 @@ org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} provided diff --git a/flink-filesystems/flink-hadoop-fs/pom.xml b/flink-filesystems/flink-hadoop-fs/pom.xml index fb42546ecec69..89ee4d481b7a7 100644 --- a/flink-filesystems/flink-hadoop-fs/pom.xml +++ b/flink-filesystems/flink-hadoop-fs/pom.xml @@ -44,8 +44,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} true diff --git a/flink-filesystems/flink-swift-fs-hadoop/pom.xml b/flink-filesystems/flink-swift-fs-hadoop/pom.xml index db53d0c680147..42c3839f61b7b 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. org.apache.flink - flink-shaded-hadoop2 + flink-shaded-hadoop-2 diff --git a/flink-formats/flink-parquet/pom.xml b/flink-formats/flink-parquet/pom.xml index 379ecaf6a761a..4a2fd32b42328 100644 --- a/flink-formats/flink-parquet/pom.xml +++ b/flink-formats/flink-parquet/pom.xml @@ -60,8 +60,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} provided diff --git a/flink-formats/flink-sequence-file/pom.xml b/flink-formats/flink-sequence-file/pom.xml index aa842151d57a3..545f9d3709354 100644 --- a/flink-formats/flink-sequence-file/pom.xml +++ b/flink-formats/flink-sequence-file/pom.xml @@ -46,8 +46,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} provided diff --git a/flink-fs-tests/pom.xml b/flink-fs-tests/pom.xml index 4c5e3e518e396..e5e39168c67d0 100644 --- a/flink-fs-tests/pom.xml +++ b/flink-fs-tests/pom.xml @@ -38,8 +38,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} test diff --git a/flink-runtime/pom.xml b/flink-runtime/pom.xml index a679cea0fd4a1..6691ea7fc36b6 100644 --- a/flink-runtime/pom.xml +++ b/flink-runtime/pom.xml @@ -69,8 +69,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} true 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 970d390bff5c2..0000000000000 --- a/flink-shaded-hadoop/flink-shaded-hadoop2-uber/pom.xml +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - 4.0.0 - - - org.apache.flink - flink-shaded-hadoop - 1.9-SNAPSHOT - .. - - - flink-shaded-hadoop2-uber - flink-shaded-hadoop2-uber - - jar - ${hadoop.version}-1.9-SNAPSHOT - - - - - - org.apache.flink - flink-shaded-hadoop2 - ${project.version} - - - - - - - - - - - - org.apache.maven.plugins - maven-shade-plugin - - - shade-hadoop - package - - shade - - - false - true - ${project.basedir}/target/dependency-reduced-pom.xml - true - - - - - * - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - - - - - *:* - - - org.slf4j:* - log4j:* - - - - - - - - - Apache Flink - - - - - - - - - - - - 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 b1b30e78b0112..0000000000000 --- 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 468e7516a87ff..0000000000000 --- 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 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. - -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 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. 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 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.cddlv1.1 b/flink-shaded-hadoop/flink-shaded-hadoop2-uber/src/main/resources/META-INF/licenses/LICENSE.cddlv1.1 deleted file mode 100644 index 75372e3d2c9a4..0000000000000 --- 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 edd491dfbfbf5..0000000000000 --- 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 522176fbca03e..0000000000000 --- 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 3a70c9bfcdadd..0000000000000 --- 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 -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 766d3e0a3f1e7..0000000000000 --- a/flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml +++ /dev/null @@ -1,828 +0,0 @@ - - - - - 4.0.0 - - - org.apache.flink - flink-shaded-hadoop - 1.9-SNAPSHOT - .. - - - flink-shaded-hadoop2 - flink-shaded-hadoop2 - - jar - ${hadoop.version}-1.9-SNAPSHOT - - - - - - org.apache.commons - commons-compress - - - - - - org.apache.avro - avro - - - - - org.apache.hadoop - hadoop-common - ${hadoop.version} - - - asm - asm - - - org.ow2.asm - asm - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - org.mortbay.jetty - jetty - - - org.mortbay.jetty - jetty-util - - - org.mortbay.jetty - jsp-api-2.1 - - - org.mortbay.jetty - jsp-2.1 - - - org.eclipse.jdt - core - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-json - - - org.codehaus.jettison - jettison - - - com.sun.jersey - jersey-server - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - javax.servlet.jsp - jsp-api - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-grizzly2 - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-core - - - com.sun.jersey - jersey-grizzly2 - - - org.glassfish.grizzly - grizzly-http - - - org.glassfish.grizzly - grizzly-framework - - - org.glassfish.grizzly - grizzly-http-server - - - org.glassfish.grizzly - grizzly-rcm - - - org.glassfish.grizzly - grizzly-http-servlet - - - org.glassfish - javax.servlet - - - com.sun.jersey.contribs - jersey-guice - - - - commons-beanutils - commons-beanutils - - - - - - - commons-beanutils - commons-beanutils - 1.9.3 - - - - org.apache.hadoop - hadoop-hdfs - ${hadoop.version} - - - asm - asm - - - org.ow2.asm - asm - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - org.mortbay.jetty - jetty - - - org.mortbay.jetty - jetty-util - - - org.mortbay.jetty - jsp-api-2.1 - - - org.mortbay.jetty - jsp-2.1 - - - org.eclipse.jdt - core - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-json - - - org.codehaus.jettison - jettison - - - com.sun.jersey - jersey-server - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - javax.servlet.jsp - jsp-api - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-grizzly2 - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-core - - - com.sun.jersey - jersey-grizzly2 - - - org.glassfish.grizzly - grizzly-http - - - org.glassfish.grizzly - grizzly-framework - - - org.glassfish.grizzly - grizzly-http-server - - - org.glassfish.grizzly - grizzly-rcm - - - org.glassfish.grizzly - grizzly-http-servlet - - - org.glassfish - javax.servlet - - - com.sun.jersey.contribs - jersey-guice - - - - - - org.apache.hadoop - hadoop-mapreduce-client-core - ${hadoop.version} - - - asm - asm - - - org.ow2.asm - asm - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - org.mortbay.jetty - jetty - - - org.mortbay.jetty - jetty-util - - - org.mortbay.jetty - jsp-api-2.1 - - - org.mortbay.jetty - jsp-2.1 - - - org.eclipse.jdt - core - - - org.apache.hadoop - hadoop-yarn-common - - - com.google.inject.extensions - guice-servlet - - - io.netty - netty - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-json - - - org.codehaus.jettison - jettison - - - com.sun.jersey - jersey-server - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - javax.servlet.jsp - jsp-api - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-grizzly2 - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-core - - - com.sun.jersey - jersey-grizzly2 - - - org.glassfish.grizzly - grizzly-http - - - org.glassfish.grizzly - grizzly-framework - - - org.glassfish.grizzly - grizzly-http-server - - - org.glassfish.grizzly - grizzly-rcm - - - org.glassfish.grizzly - grizzly-http-servlet - - - org.glassfish - javax.servlet - - - com.sun.jersey.contribs - jersey-guice - - - - - - org.apache.hadoop - hadoop-yarn-client - ${hadoop.version} - - - asm - asm - - - org.ow2.asm - asm - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - org.mortbay.jetty - jetty - - - org.mortbay.jetty - jetty-util - - - org.mortbay.jetty - jsp-api-2.1 - - - org.mortbay.jetty - jsp-2.1 - - - org.eclipse.jdt - core - - - org.apache.hadoop - hadoop-yarn-common - - - com.google.inject.extensions - guice-servlet - - - io.netty - netty - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-json - - - org.codehaus.jettison - jettison - - - com.sun.jersey - jersey-server - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - javax.servlet.jsp - jsp-api - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-grizzly2 - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-core - - - com.sun.jersey - jersey-grizzly2 - - - org.glassfish.grizzly - grizzly-http - - - org.glassfish.grizzly - grizzly-framework - - - org.glassfish.grizzly - grizzly-http-server - - - org.glassfish.grizzly - grizzly-rcm - - - org.glassfish.grizzly - grizzly-http-servlet - - - org.glassfish - javax.servlet - - - com.sun.jersey.contribs - jersey-guice - - - - - - org.apache.hadoop - hadoop-yarn-common - ${hadoop.version} - - - asm - asm - - - org.ow2.asm - asm - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - org.mortbay.jetty - jetty - - - org.mortbay.jetty - jetty-util - - - org.mortbay.jetty - jsp-api-2.1 - - - org.mortbay.jetty - jsp-2.1 - - - org.eclipse.jdt - core - - - org.apache.hadoop - hadoop-yarn-common - - - com.google.inject.extensions - guice-servlet - - - io.netty - netty - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-json - - - org.codehaus.jettison - jettison - - - com.sun.jersey - jersey-server - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - javax.servlet.jsp - jsp-api - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-grizzly2 - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-core - - - com.sun.jersey - jersey-grizzly2 - - - org.glassfish.grizzly - grizzly-http - - - org.glassfish.grizzly - grizzly-framework - - - org.glassfish.grizzly - grizzly-http-server - - - org.glassfish.grizzly - grizzly-rcm - - - org.glassfish.grizzly - grizzly-http-servlet - - - org.glassfish - javax.servlet - - - com.sun.jersey.contribs - jersey-guice - - - com.google.inject - guice - - - - - - - - - mapr - - - mapr - - - - - org.apache.hadoop - hadoop-common - ${hadoop.version} - - - - com.mapr.hadoop - maprfs-core - - - com.mapr.hadoop - hadoop2 - - - com.mapr.hadoop - maprfs - - - com.mapr.hadoop - maprfs-diagnostic-tools - - - com.mapr.hadoop - maprfs-jni - - - com.mapr.fs - libprotodefs - - - com.mapr.fs - mapr-hbase - - - - asm - asm - - - org.ow2.asm - asm - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - org.mortbay.jetty - jetty - - - org.mortbay.jetty - jsp-api-2.1 - - - org.mortbay.jetty - jsp-2.1 - - - - org.eclipse.jdt - core - - - org.mortbay.jetty - jetty - - - com.sun.jersey - jersey-json - - - org.codehaus.jettison - jettison - - - com.sun.jersey - jersey-server - - - tomcat - jasper-compiler - - - tomcat - jasper-runtime - - - javax.servlet.jsp - jsp-api - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-grizzly2 - - - com.sun.jersey.jersey-test-framework - jersey-test-framework-core - - - com.sun.jersey - jersey-grizzly2 - - - org.glassfish.grizzly - grizzly-http - - - org.glassfish.grizzly - grizzly-framework - - - org.glassfish.grizzly - grizzly-http-server - - - org.glassfish.grizzly - grizzly-rcm - - - org.glassfish.grizzly - grizzly-http-servlet - - - org.glassfish - javax.servlet - - - com.sun.jersey.contribs - jersey-guice - - - - commons-beanutils - commons-beanutils - - - - - - - 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 fb2db404ce1b1..0000000000000 --- 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-yarn-tests/pom.xml b/flink-shaded-hadoop/flink-shaded-yarn-tests/pom.xml deleted file mode 100644 index 80c1bdcbd1bd0..0000000000000 --- a/flink-shaded-hadoop/flink-shaded-yarn-tests/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - 4.0.0 - - - org.apache.flink - flink-shaded-hadoop - 1.9-SNAPSHOT - .. - - - flink-shaded-yarn-tests - flink-shaded-yarn-tests - - jar - - - - org.apache.hadoop - hadoop-common - ${hadoop.version} - - - - org.apache.hadoop - hadoop-yarn-server-tests - ${hadoop.version} - - - - - org.apache.hadoop - hadoop-yarn-server-tests - ${hadoop.version} - test-jar - - - - org.apache.hadoop - hadoop-minicluster - ${hadoop.version} - - - - org.apache.hadoop - hadoop-yarn-server-resourcemanager - ${hadoop.version} - - - - - diff --git a/flink-shaded-hadoop/flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.protobuf b/flink-shaded-hadoop/flink-shaded-yarn-tests/src/main/resources/META-INF/licenses/LICENSE.protobuf deleted file mode 100644 index 19b305b00060a..0000000000000 --- a/flink-shaded-hadoop/flink-shaded-yarn-tests/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/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 e480039680d64..8ee5e74c08b90 100644 --- a/flink-shaded-hadoop/pom.xml +++ b/flink-shaded-yarn-tests/pom.xml @@ -29,16 +29,10 @@ under the License. .. - flink-shaded-hadoop - flink-shaded-hadoop + flink-shaded-yarn-tests + flink-shaded-yarn-tests - pom - - - flink-shaded-hadoop2 - flink-shaded-hadoop2-uber - flink-shaded-yarn-tests - + jar @@ -52,8 +46,40 @@ under the License. slf4j-api provided - + + org.apache.hadoop + hadoop-common + ${hadoop.version} + + + + org.apache.hadoop + hadoop-yarn-server-tests + ${hadoop.version} + + + + + org.apache.hadoop + hadoop-yarn-server-tests + ${hadoop.version} + test-jar + + + + org.apache.hadoop + hadoop-minicluster + ${hadoop.version} + + + + org.apache.hadoop + hadoop-yarn-server-resourcemanager + ${hadoop.version} + + + @@ -146,42 +172,42 @@ under the License. com.google - org.apache.flink.hadoop.shaded.com.google + org.apache.flink.hadoop2.shaded.com.google com.google.inject.** org.objectweb.asm - org.apache.flink.hadoop.shaded.org.objectweb.asm + org.apache.flink.hadoop2.shaded.org.objectweb.asm org.jboss.netty - org.apache.flink.hadoop.shaded.org.jboss.netty + org.apache.flink.hadoop2.shaded.org.jboss.netty io.netty - org.apache.flink.hadoop.shaded.io.netty + org.apache.flink.hadoop2.shaded.io.netty org.apache.curator - org.apache.flink.hadoop.shaded.org.apache.curator + org.apache.flink.hadoop2.shaded.org.apache.curator org.apache.http - org.apache.flink.hadoop.shaded.org.apache.http + org.apache.flink.hadoop2.shaded.org.apache.http org.apache.commons.httpclient - org.apache.flink.hadoop.shaded.org.apache.commons.httpclient + org.apache.flink.hadoop2.shaded.org.apache.commons.httpclient org.htrace - org.apache.flink.hadoop.shaded.org.htrace + org.apache.flink.hadoop2.shaded.org.htrace org.codehaus.jackson - org.apache.flink.hadoop.shaded.org.codehaus.jackson + org.apache.flink.hadoop2.shaded.org.codehaus.jackson 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-hadoop2/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-hadoop2/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 95451b2f46124..b749dc168b61a 100644 --- a/flink-tests/pom.xml +++ b/flink-tests/pom.xml @@ -54,8 +54,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} test diff --git a/flink-yarn-tests/pom.xml b/flink-yarn-tests/pom.xml index 709ab87ff45ad..df55af0faffd6 100644 --- a/flink-yarn-tests/pom.xml +++ b/flink-yarn-tests/pom.xml @@ -126,15 +126,15 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} test org.apache.flink - flink-shaded-hadoop2-uber - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2-uber + ${hadoop.version}-${flink.shaded.version} test @@ -340,8 +340,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2-uber - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2-uber + ${hadoop.version}-${flink.shaded.version} jar true ${project.build.directory}/shaded-hadoop diff --git a/flink-yarn/pom.xml b/flink-yarn/pom.xml index 25285dbb85a29..bbccefbd31e90 100644 --- a/flink-yarn/pom.xml +++ b/flink-yarn/pom.xml @@ -55,8 +55,8 @@ under the License. org.apache.flink - flink-shaded-hadoop2 - ${hadoop.version}-${project.version} + flink-shaded-hadoop-2 + ${hadoop.version}-${flink.shaded.version} diff --git a/pom.xml b/pom.xml index edfdcc9826f98..60dafcb56f842 100644 --- a/pom.xml +++ b/pom.xml @@ -53,7 +53,6 @@ under the License. tools/force-shading flink-annotations - flink-shaded-hadoop flink-shaded-curator flink-core flink-java @@ -82,6 +81,7 @@ under the License. flink-mesos flink-metrics flink-yarn + flink-shaded-yarn-tests flink-yarn-tests flink-fs-tests flink-docs @@ -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). --> diff --git a/tools/releasing/create_binary_release.sh b/tools/releasing/create_binary_release.sh index 7790bead74411..0a94c7c8a5a0b 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 40c36625b1b29..00bf7df353a33 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