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

[flink] branch master updated: [hotfix][python] Fix the package name of PythonGatewayServer (#9351)

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

jincheng 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 2c587b6  [hotfix][python] Fix the package name of PythonGatewayServer (#9351)
2c587b6 is described below

commit 2c587b6a3c88a1f9f69ce07100b0775ef3a50c1f
Author: dianfu <fu...@alibaba-inc.com>
AuthorDate: Sun Aug 4 14:05:49 2019 +0800

    [hotfix][python] Fix the package name of PythonGatewayServer (#9351)
---
 .../src/main/java/org/apache/flink/client/cli/ProgramOptions.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-clients/src/main/java/org/apache/flink/client/cli/ProgramOptions.java b/flink-clients/src/main/java/org/apache/flink/client/cli/ProgramOptions.java
index ca2ad1a..ff0114c 100644
--- a/flink-clients/src/main/java/org/apache/flink/client/cli/ProgramOptions.java
+++ b/flink-clients/src/main/java/org/apache/flink/client/cli/ProgramOptions.java
@@ -81,7 +81,7 @@ public abstract class ProgramOptions extends CommandLineOptions {
 			line.getOptionValue(CLASS_OPTION.getOpt()) : null;
 
 		isPython = line.hasOption(PY_OPTION.getOpt()) | line.hasOption(PYMODULE_OPTION.getOpt())
-			| "org.apache.flink.python.client.PythonGatewayServer".equals(entryPointClass);
+			| "org.apache.flink.client.python.PythonGatewayServer".equals(entryPointClass);
 		// If specified the option -py(--python)
 		if (line.hasOption(PY_OPTION.getOpt())) {
 			// Cannot use option -py and -pym simultaneously.