From 8e687cbc9838fce0b1d8190c7851b7d573562487 Mon Sep 17 00:00:00 2001 From: Shuo Date: Thu, 5 Jul 2018 05:26:19 +0800 Subject: [PATCH] Unify the identity of a process while logging. (#2325) --- java/pom.xml | 4 ---- .../src/main/java/org/ray/runner/RunManager.java | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/java/pom.xml b/java/pom.xml index e1f3f5e10..705bfad54 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -74,10 +74,6 @@ jedis 2.8.0 - - org.apache.arrow - arrow-plasma - commons-io diff --git a/java/runtime-native/src/main/java/org/ray/runner/RunManager.java b/java/runtime-native/src/main/java/org/ray/runner/RunManager.java index f38638793..6c4123c56 100644 --- a/java/runtime-native/src/main/java/org/ray/runner/RunManager.java +++ b/java/runtime-native/src/main/java/org/ray/runner/RunManager.java @@ -397,7 +397,7 @@ public class RunManager { for (int j = 0; j < runInfo.allProcesses.get(i).size(); ) { p = runInfo.allProcesses.get(i).get(j); if (!p.process.isAlive()) { - RayLog.core.error("Process " + p.hashCode() + " is not alive!" + " Process Type " + RayLog.core.error("Process " + p.process.hashCode() + " is not alive!" + " Process Type " + types[i].name()); runInfo.deadProcess.add(p); runInfo.allProcesses.get(i).remove(j); @@ -454,7 +454,7 @@ public class RunManager { if (killAll) { runInfo.allProcesses.get(i).forEach(p -> { if (killProcess(p.process)) { - RayLog.core.info("Kill process " + p.hashCode() + " forcely"); + RayLog.core.info("Kill process " + p.process.hashCode() + " forcely"); } }); } else {