Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
abc1e0a1
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
abc1e0a1
编写于
7月 29, 2019
作者:
D
Dawid Wysakowicz
提交者:
Timo Walther
7月 30, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FLINK-13399][table] Create two separate table uber jars for old and blink planners
上级
536d3217
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
161 addition
and
39 deletion
+161
-39
flink-dist/pom.xml
flink-dist/pom.xml
+7
-0
flink-dist/src/main/assemblies/bin.xml
flink-dist/src/main/assemblies/bin.xml
+15
-0
flink-dist/src/main/assemblies/opt.xml
flink-dist/src/main/assemblies/opt.xml
+0
-8
flink-dist/src/main/flink-bin/bin/pyflink-gateway-server.sh
flink-dist/src/main/flink-bin/bin/pyflink-gateway-server.sh
+1
-1
flink-end-to-end-tests/flink-stream-sql-test/pom.xml
flink-end-to-end-tests/flink-stream-sql-test/pom.xml
+0
-6
flink-end-to-end-tests/test-scripts/test_streaming_sql.sh
flink-end-to-end-tests/test-scripts/test_streaming_sql.sh
+0
-3
flink-scala-shell/start-script/start-scala-shell.sh
flink-scala-shell/start-script/start-scala-shell.sh
+0
-7
flink-table/flink-sql-client/pom.xml
flink-table/flink-sql-client/pom.xml
+0
-12
flink-table/flink-table-planner/pom.xml
flink-table/flink-table-planner/pom.xml
+1
-1
flink-table/flink-table-runtime-blink/pom.xml
flink-table/flink-table-runtime-blink/pom.xml
+7
-0
flink-table/flink-table-uber-blink/pom.xml
flink-table/flink-table-uber-blink/pom.xml
+122
-0
flink-table/flink-table-uber/pom.xml
flink-table/flink-table-uber/pom.xml
+6
-0
flink-table/pom.xml
flink-table/pom.xml
+1
-0
tools/travis_controller.sh
tools/travis_controller.sh
+1
-1
未找到文件。
flink-dist/pom.xml
浏览文件 @
abc1e0a1
...
...
@@ -299,6 +299,13 @@ under the License.
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-table-uber-blink_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-sql-client_${scala.binary.version}
</artifactId>
...
...
flink-dist/src/main/assemblies/bin.xml
浏览文件 @
abc1e0a1
...
...
@@ -52,6 +52,21 @@ under the License.
<fileMode>
0644
</fileMode>
</file>
<!-- Table/SQL Uber JAR -->
<file>
<source>
../flink-table/flink-table-uber/target/flink-table-uber_${scala.binary.version}-${project.version}.jar
</source>
<outputDirectory>
lib/
</outputDirectory>
<destName>
flink-table_${scala.binary.version}-${project.version}.jar
</destName>
<fileMode>
0644
</fileMode>
</file>
<file>
<source>
../flink-table/flink-table-uber-blink/target/flink-table-uber-blink_${scala.binary.version}-${project.version}.jar
</source>
<outputDirectory>
lib/
</outputDirectory>
<destName>
flink-table-blink_${scala.binary.version}-${project.version}.jar
</destName>
<fileMode>
0644
</fileMode>
</file>
<!-- copy the config file -->
<file>
<source>
src/main/resources/flink-conf.yaml
</source>
...
...
flink-dist/src/main/assemblies/opt.xml
浏览文件 @
abc1e0a1
...
...
@@ -59,14 +59,6 @@
<fileMode>
0644
</fileMode>
</file>
<!-- Table/SQL Uber JAR -->
<file>
<source>
../flink-table/flink-table-uber/target/flink-table-uber_${scala.binary.version}-${project.version}.jar
</source>
<outputDirectory>
opt/
</outputDirectory>
<destName>
flink-table_${scala.binary.version}-${project.version}.jar
</destName>
<fileMode>
0644
</fileMode>
</file>
<!-- SQL Client -->
<file>
<source>
../flink-table/flink-sql-client/target/flink-sql-client_${scala.binary.version}-${project.version}.jar
</source>
...
...
flink-dist/src/main/flink-bin/bin/pyflink-gateway-server.sh
浏览文件 @
abc1e0a1
...
...
@@ -50,7 +50,7 @@ done
log
=
$FLINK_LOG_DIR
/flink-
$FLINK_IDENT_STRING
-python-
$HOSTNAME
.log
log_setting
=(
-Dlog
.file
=
"
$log
"
-Dlog4j
.configuration
=
file:
"
$FLINK_CONF_DIR
"
/log4j-cli.properties
-Dlogback
.configurationFile
=
file:
"
$FLINK_CONF_DIR
"
/logback.xml
)
TABLE_JAR_PATH
=
`
echo
"
$FLINK_HOME
"
/
opt
/flink-table
*
.jar
`
TABLE_JAR_PATH
=
`
echo
"
$FLINK_HOME
"
/
lib
/flink-table
*
.jar
`
PYTHON_JAR_PATH
=
`
echo
"
$FLINK_HOME
"
/opt/flink-python
*
.jar
`
FLINK_TEST_CLASSPATH
=
""
...
...
flink-end-to-end-tests/flink-stream-sql-test/pom.xml
浏览文件 @
abc1e0a1
...
...
@@ -49,12 +49,6 @@
<version>
${project.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-table-planner_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
<build>
...
...
flink-end-to-end-tests/test-scripts/test_streaming_sql.sh
浏览文件 @
abc1e0a1
...
...
@@ -21,9 +21,6 @@ source "$(dirname "$0")"/common.sh
TEST_PROGRAM_JAR
=
${
END_TO_END_DIR
}
/flink-stream-sql-test/target/StreamSQLTestProgram.jar
# copy flink-table jar into lib folder
add_optional_lib
"table"
start_cluster
$FLINK_DIR
/bin/taskmanager.sh start
$FLINK_DIR
/bin/taskmanager.sh start
...
...
flink-scala-shell/start-script/start-scala-shell.sh
浏览文件 @
abc1e0a1
...
...
@@ -52,13 +52,6 @@ bin=`cd "$bin"; pwd`
FLINK_CLASSPATH
=
`
constructFlinkClassPath
`
# Append flink-table jar into class path
opt
=
`
dirname
"
$0
"
`
opt
=
`
cd
"
$opt
"
/../opt
;
pwd
`
FLINK_TABLE_LIB_PATH
=
$opt
/
`
ls
$opt
|grep flink-table_
*
`
FLINK_CLASSPATH
=
$FLINK_CLASSPATH
:
$FLINK_TABLE_LIB_PATH
# https://issues.scala-lang.org/browse/SI-6502, cant load external jars interactively
# in scala shell since 2.10, has to be done at startup
# checks arguments for additional classpath and adds it to the "standard classpath"
...
...
flink-table/flink-sql-client/pom.xml
浏览文件 @
abc1e0a1
...
...
@@ -59,12 +59,6 @@ under the License.
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-cep_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
</dependency>
<!-- Table ecosystem -->
<dependency>
<groupId>
org.apache.flink
</groupId>
...
...
@@ -515,12 +509,6 @@ under the License.
<configuration>
<artifactSet>
<includes
combine.children=
"append"
>
<include>
org.apache.flink:flink-table-common
</include>
<include>
org.apache.flink:flink-table-api-java
</include>
<include>
org.apache.flink:flink-table-api-java-bridge_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-table-planner_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-cep_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-sql-parser
</include>
<include>
org.jline:*
</include>
</includes>
</artifactSet>
...
...
flink-table/flink-table-planner/pom.xml
浏览文件 @
abc1e0a1
...
...
@@ -130,7 +130,6 @@ under the License.
<scope>
provided
</scope>
</dependency>
<!-- Used for code generation -->
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-cep_${scala.binary.version}
</artifactId>
...
...
@@ -138,6 +137,7 @@ under the License.
<scope>
provided
</scope>
</dependency>
<!-- Used for code generation -->
<dependency>
<groupId>
org.codehaus.janino
</groupId>
<artifactId>
janino
</artifactId>
...
...
flink-table/flink-table-runtime-blink/pom.xml
浏览文件 @
abc1e0a1
...
...
@@ -170,6 +170,13 @@ under the License.
<include>
org.lz4:lz4-java
</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<!-- Relocate org.lz4:lz4-java -->
<pattern>
net.jpountz
</pattern>
<shadedPattern>
org.apache.flink.table.shaded.net.jpountz
</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
...
...
flink-table/flink-table-uber-blink/pom.xml
0 → 100644
浏览文件 @
abc1e0a1
<?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-table
</artifactId>
<version>
1.10-SNAPSHOT
</version>
<relativePath>
..
</relativePath>
</parent>
<artifactId>
flink-table-uber-blink_${scala.binary.version}
</artifactId>
<name>
flink-table-uber-blink
</name>
<description>
This module contains the entire Table/SQL distribution for writing table programs
within the table ecosystem or between other Flink APIs. This module uses the Blink planner
for generating optimized runnable plan from relational query. Users can either use the
Scala or Java programming language.
</description>
<packaging>
jar
</packaging>
<dependencies>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-table-common
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-sql-parser
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-table-api-java
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-table-api-scala_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-table-api-java-bridge_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-table-api-scala-bridge_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-table-planner-blink_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-table-runtime-blink_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-cep_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-shade-plugin
</artifactId>
<executions>
<!-- Exclude all flink-dist files and only include flink-table-* -->
<execution>
<id>
shade-flink
</id>
<phase>
package
</phase>
<goals>
<goal>
shade
</goal>
</goals>
<configuration>
<artifactSet>
<includes
combine.children=
"append"
>
<include>
org.apache.flink:flink-table-common
</include>
<include>
org.apache.flink:flink-sql-parser
</include>
<include>
org.apache.flink:flink-table-api-java
</include>
<include>
org.apache.flink:flink-table-api-scala_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-table-api-java-bridge_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-table-api-scala-bridge_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-table-planner-blink_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-table-runtime-blink_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-cep_${scala.binary.version}
</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
flink-table/flink-table-uber/pom.xml
浏览文件 @
abc1e0a1
...
...
@@ -73,6 +73,11 @@ under the License.
<artifactId>
flink-table-planner_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-cep_${scala.binary.version}
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependencies>
<build>
...
...
@@ -98,6 +103,7 @@ under the License.
<include>
org.apache.flink:flink-table-api-java-bridge_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-table-api-scala-bridge_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-table-planner_${scala.binary.version}
</include>
<include>
org.apache.flink:flink-cep_${scala.binary.version}
</include>
</includes>
</artifactSet>
</configuration>
...
...
flink-table/pom.xml
浏览文件 @
abc1e0a1
...
...
@@ -42,6 +42,7 @@ under the License.
<module>
flink-table-planner-blink
</module>
<module>
flink-table-runtime-blink
</module>
<module>
flink-table-uber
</module>
<module>
flink-table-uber-blink
</module>
<module>
flink-sql-client
</module>
<module>
flink-sql-parser
</module>
</modules>
...
...
tools/travis_controller.sh
浏览文件 @
abc1e0a1
...
...
@@ -146,7 +146,7 @@ if [ $STAGE == "$STAGE_COMPILE" ]; then
!
-path
"
$CACHE_FLINK_DIR
/flink-runtime/target/flink-runtime*tests.jar"
\
!
-path
"
$CACHE_FLINK_DIR
/flink-streaming-java/target/flink-streaming-java*tests.jar"
\
!
-path
"
$CACHE_FLINK_DIR
/flink-dist/target/flink-*-bin/flink-*/lib/flink-dist*.jar"
\
!
-path
"
$CACHE_FLINK_DIR
/flink-dist/target/flink-*-bin/flink-*/
opt
/flink-table*.jar"
\
!
-path
"
$CACHE_FLINK_DIR
/flink-dist/target/flink-*-bin/flink-*/
lib
/flink-table*.jar"
\
!
-path
"
$CACHE_FLINK_DIR
/flink-dist/target/flink-*-bin/flink-*/opt/flink-python*.jar"
\
!
-path
"
$CACHE_FLINK_DIR
/flink-connectors/flink-connector-elasticsearch-base/target/flink-*.jar"
\
!
-path
"
$CACHE_FLINK_DIR
/flink-connectors/flink-connector-kafka-base/target/flink-*.jar"
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录