File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
launcher/src/main/java/com/dtstack/flink/sql/launcher Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 4040import org .apache .flink .runtime .jobgraph .JobGraph ;
4141import org .apache .flink .runtime .jobgraph .SavepointRestoreSettings ;
4242import org .apache .flink .util .FileUtils ;
43+ import org .slf4j .Logger ;
44+ import org .slf4j .LoggerFactory ;
4345
4446import java .io .File ;
4547import java .io .IOException ;
4648import java .net .URLDecoder ;
47- import java .nio .charset .StandardCharsets ;
4849import java .util .LinkedList ;
4950import java .util .List ;
5051import java .util .Map ;
6061public class LauncherMain {
6162 private static final String CORE_JAR = "core" ;
6263
64+ private static final Logger LOG = LoggerFactory .getLogger (LauncherMain .class );
65+
6366 private static String SP = File .separator ;
6467
6568 private static String getLocalCoreJarPath (String localSqlRootJar ) throws Exception {
@@ -80,7 +83,9 @@ public static void main(String[] args) throws Exception {
8083 confProp = URLDecoder .decode (confProp , Charsets .UTF_8 .toString ());
8184 Properties confProperties = PluginUtil .jsonStrToObject (confProp , Properties .class );
8285
83- if (mode .equals (ClusterMode .local .name ())) {
86+ LOG .info ("current job mode is {}" , mode );
87+
88+ if (mode .equals (ClusterMode .local .name ())) {
8489 String [] localArgs = argList .toArray (new String [0 ]);
8590 Main .main (localArgs );
8691 return ;
You can’t perform that action at this time.
0 commit comments