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

[flink] branch master updated: [FLINK-14167][python] Move python-related scripts from flink-dist to flink-python.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 44e8617  [FLINK-14167][python] Move python-related scripts from flink-dist to flink-python.
44e8617 is described below

commit 44e86178831284524d815124dbb5360623358990
Author: Wei Zhong <we...@gmail.com>
AuthorDate: Mon Sep 23 17:31:21 2019 +0800

    [FLINK-14167][python] Move python-related scripts from flink-dist to flink-python.
    
    This closes #9746.
---
 flink-dist/src/main/assemblies/bin.xml                             | 7 +++++++
 .../main/flink-bin => flink-python}/bin/pyflink-gateway-server.sh  | 0
 .../src/main/flink-bin => flink-python}/bin/pyflink-shell.sh       | 0
 .../src/main/flink-bin => flink-python}/bin/pyflink-udf-runner.sh  | 0
 4 files changed, 7 insertions(+)

diff --git a/flink-dist/src/main/assemblies/bin.xml b/flink-dist/src/main/assemblies/bin.xml
index 1b65486..8c549fb 100644
--- a/flink-dist/src/main/assemblies/bin.xml
+++ b/flink-dist/src/main/assemblies/bin.xml
@@ -115,6 +115,13 @@ under the License.
 			<fileMode>755</fileMode>
 		</fileSet>
 
+		<!-- copy python scripts -->
+		<fileSet>
+			<directory>../flink-python/bin/</directory>
+			<outputDirectory>bin</outputDirectory>
+			<fileMode>0755</fileMode>
+		</fileSet>
+
 		<!-- copy SQL client -->
 		<fileSet>
 			<directory>../flink-table/flink-sql-client/bin/</directory>
diff --git a/flink-dist/src/main/flink-bin/bin/pyflink-gateway-server.sh b/flink-python/bin/pyflink-gateway-server.sh
similarity index 100%
rename from flink-dist/src/main/flink-bin/bin/pyflink-gateway-server.sh
rename to flink-python/bin/pyflink-gateway-server.sh
diff --git a/flink-dist/src/main/flink-bin/bin/pyflink-shell.sh b/flink-python/bin/pyflink-shell.sh
similarity index 100%
rename from flink-dist/src/main/flink-bin/bin/pyflink-shell.sh
rename to flink-python/bin/pyflink-shell.sh
diff --git a/flink-dist/src/main/flink-bin/bin/pyflink-udf-runner.sh b/flink-python/bin/pyflink-udf-runner.sh
similarity index 100%
rename from flink-dist/src/main/flink-bin/bin/pyflink-udf-runner.sh
rename to flink-python/bin/pyflink-udf-runner.sh