File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
launcher/src/main/java/com/dtstack/flink/sql/launcher Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public static ClusterClient createClusterClient(Options launcherOptions) throws
6262 if (mode .equals (ClusterMode .standalone .name ())) {
6363 return createStandaloneClient (launcherOptions );
6464 } else if (mode .equals (ClusterMode .yarn .name ())) {
65- return createYarnSessionClient (launcherOptions , mode );
65+ return createYarnSessionClient (launcherOptions );
6666 }
6767 throw new IllegalArgumentException ("Unsupported cluster client type: " );
6868 }
@@ -82,7 +82,7 @@ public static ClusterClient createStandaloneClient(Options launcherOptions) thro
8282 return clusterClient ;
8383 }
8484
85- public static ClusterClient createYarnSessionClient (Options launcherOptions , String mode ) {
85+ public static ClusterClient createYarnSessionClient (Options launcherOptions ) {
8686
8787 String flinkConfDir = launcherOptions .getFlinkconf ();
8888 Configuration config = GlobalConfiguration .loadConfiguration (flinkConfDir );
You can’t perform that action at this time.
0 commit comments