Unify the identity of a process while logging. (#2325)

This commit is contained in:
Shuo
2018-07-04 14:26:19 -07:00
committed by Robert Nishihara
parent 1d51e57b6e
commit 8e687cbc98
2 changed files with 2 additions and 6 deletions
-4
View File
@@ -74,10 +74,6 @@
<artifactId>jedis</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-plasma</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
@@ -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 {