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 40
40
import org .apache .flink .runtime .jobgraph .JobGraph ;
41
41
import org .apache .flink .runtime .jobgraph .SavepointRestoreSettings ;
42
42
import org .apache .flink .util .FileUtils ;
43
+ import org .slf4j .Logger ;
44
+ import org .slf4j .LoggerFactory ;
43
45
44
46
import java .io .File ;
45
47
import java .io .IOException ;
46
48
import java .net .URLDecoder ;
47
- import java .nio .charset .StandardCharsets ;
48
49
import java .util .LinkedList ;
49
50
import java .util .List ;
50
51
import java .util .Map ;
60
61
public class LauncherMain {
61
62
private static final String CORE_JAR = "core" ;
62
63
64
+ private static final Logger LOG = LoggerFactory .getLogger (LauncherMain .class );
65
+
63
66
private static String SP = File .separator ;
64
67
65
68
private static String getLocalCoreJarPath (String localSqlRootJar ) throws Exception {
@@ -80,7 +83,9 @@ public static void main(String[] args) throws Exception {
80
83
confProp = URLDecoder .decode (confProp , Charsets .UTF_8 .toString ());
81
84
Properties confProperties = PluginUtil .jsonStrToObject (confProp , Properties .class );
82
85
83
- if (mode .equals (ClusterMode .local .name ())) {
86
+ LOG .info ("current job mode is {}" , mode );
87
+
88
+ if (mode .equals (ClusterMode .local .name ())) {
84
89
String [] localArgs = argList .toArray (new String [0 ]);
85
90
Main .main (localArgs );
86
91
return ;
You can’t perform that action at this time.
0 commit comments