This is an automated email from the ASF dual-hosted git repository.
yaniv pushed a commit to branch version-0.2.0-incubating-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-amaterasu.git
The following commit(s) were added to refs/heads/version-0.2.0-incubating-rc3
by this push:
new c347b01 debug msgs
c347b01 is described below
commit c347b01749e2373e6cff3ded4bb912562d9500c7
Author: Yaniv Rodenski <[email protected]>
AuthorDate: Mon May 14 20:13:41 2018 +1000
debug msgs
---
leader/src/main/java/org/apache/amaterasu/leader/yarn/Client.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/leader/src/main/java/org/apache/amaterasu/leader/yarn/Client.java
b/leader/src/main/java/org/apache/amaterasu/leader/yarn/Client.java
index e21b896..33b3d0e 100644
--- a/leader/src/main/java/org/apache/amaterasu/leader/yarn/Client.java
+++ b/leader/src/main/java/org/apache/amaterasu/leader/yarn/Client.java
@@ -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);
--
To stop receiving notification emails like this one, please contact
[email protected].