debug msgs
authorYaniv Rodenski <roadan@gmail.com>
Mon, 14 May 2018 10:13:41 +0000 (20:13 +1000)
committerYaniv Rodenski <roadan@gmail.com>
Mon, 14 May 2018 10:13:41 +0000 (20:13 +1000)
leader/src/main/java/org/apache/amaterasu/leader/yarn/Client.java

index e21b896..33b3d0e 100644 (file)
@@ -164,7 +164,7 @@ public class Client {
             exit(4);
         }
 
-
+        System.out.println("===> 1");
         // get version of build
         String version = config.version();
 
@@ -174,16 +174,18 @@ public class Client {
         Path mergedPath = Path.mergePaths(jarPath, new Path(leaderJarPath));
 
         // System.out.println("===> path: " + jarPathQualified);
-
+        System.out.println("===> 2");
         LOGGER.info("Leader merged jar path is: {}", mergedPath);
         LocalResource leaderJar = null;
         LocalResource propFile = null;
         LocalResource log4jPropFile = null;
 
         try {
+            System.out.println("===> 3");
             leaderJar = setLocalResourceFromPath(mergedPath);
             propFile = setLocalResourceFromPath(Path.mergePaths(jarPath, new Path("/amaterasu.properties")));
             log4jPropFile = setLocalResourceFromPath(Path.mergePaths(jarPath, new Path("/log4j.properties")));
+            System.out.println("===> 4");
         } catch (IOException e) {
             LOGGER.error("Error initializing yarn local resources.", e);
             exit(4);