Skip to content

Commit

Permalink
[FLINK-22107][hive] Include antlr into hive connector uber jars (apac…
Browse files Browse the repository at this point in the history
  • Loading branch information
lirui-apache authored Apr 8, 2021
1 parent 9390483 commit 8550d82
Show file tree
Hide file tree
Showing 12 changed files with 152 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flink-connectors/flink-sql-connector-hive-1.2.2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ under the License.
<artifactId>aircompressor</artifactId>
<version>0.8</version>
</dependency>

<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.5.2</version>
</dependency>
</dependencies>

<build>
Expand All @@ -141,6 +147,7 @@ under the License.
<include>org.apache.orc:orc-core</include>
<include>org.apache.orc:orc-shims</include>
<include>io.airlift:aircompressor</include>
<include>org.antlr:antlr-runtime</include>
</includes>
</artifactSet>
<filters>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ This project bundles the following dependencies under the Apache Software Licens
- org.apache.orc:orc-shims:1.5.6
- org.apache.thrift:libfb303:0.9.2

This project bundles the following dependencies under the BSD license.
See bundled license files for details.

- org.antlr:antlr-runtime:3.5.2

The bundled Apache Hive dependencies bundle the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)

- com.google.guava:guava:14.0.1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[The "BSD license"]
Copyright (c) 2013 Terence Parr
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 name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
7 changes: 7 additions & 0 deletions flink-connectors/flink-sql-connector-hive-2.2.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ under the License.
<artifactId>aircompressor</artifactId>
<version>0.8</version>
</dependency>

<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.5.2</version>
</dependency>
</dependencies>

<build>
Expand All @@ -109,6 +115,7 @@ under the License.
<include>org.apache.hive:hive-exec</include>
<include>org.apache.orc:orc-core</include>
<include>io.airlift:aircompressor</include>
<include>org.antlr:antlr-runtime</include>
</includes>
</artifactSet>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ This project bundles the following dependencies under the Apache Software Licens
- org.apache.hive:hive-exec:2.2.0
- org.apache.orc:orc-core:1.4.3

This project bundles the following dependencies under the BSD license.
See bundled license files for details.

- org.antlr:antlr-runtime:3.5.2

The bundled Apache Hive dependencies bundle the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)

- com.google.guava:guava:14.0.1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[The "BSD license"]
Copyright (c) 2013 Terence Parr
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 name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
7 changes: 7 additions & 0 deletions flink-connectors/flink-sql-connector-hive-2.3.6/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ under the License.
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.5.2</version>
</dependency>
</dependencies>

<build>
Expand All @@ -80,6 +86,7 @@ under the License.
<includes>
<include>org.apache.flink:flink-connector-hive_${scala.binary.version}</include>
<include>org.apache.hive:hive-exec</include>
<include>org.antlr:antlr-runtime</include>
</includes>
</artifactSet>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ This project bundles the following dependencies under the Apache Software Licens

- org.apache.hive:hive-exec:2.3.6

This project bundles the following dependencies under the BSD license.
See bundled license files for details.

- org.antlr:antlr-runtime:3.5.2

The bundled Apache Hive org.apache.hive:hive-exec dependency bundles the following dependencies under
the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[The "BSD license"]
Copyright (c) 2013 Terence Parr
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 name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
7 changes: 7 additions & 0 deletions flink-connectors/flink-sql-connector-hive-3.1.2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ under the License.
<artifactId>libfb303</artifactId>
<version>0.9.3</version>
</dependency>

<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.5.2</version>
</dependency>
</dependencies>

<build>
Expand All @@ -83,6 +89,7 @@ under the License.
<include>org.apache.flink:flink-connector-hive_${scala.binary.version}</include>
<include>org.apache.hive:hive-exec</include>
<include>org.apache.thrift:libfb303</include>
<include>org.antlr:antlr-runtime</include>
</includes>
</artifactSet>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ This project bundles the following dependencies under the Apache Software Licens
- org.apache.hive:hive-exec:3.1.2
- org.apache.thrift:libfb303:0.9.3

This project bundles the following dependencies under the BSD license.
See bundled license files for details.

- org.antlr:antlr-runtime:3.5.2

The bundled Apache Hive org.apache.hive:hive-exec dependency bundles the following dependencies under
the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[The "BSD license"]
Copyright (c) 2013 Terence Parr
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 name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.

0 comments on commit 8550d82

Please sign in to comment.