MAPREDUCE-4570. ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found. (Ahmed Radwan via bobby)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1375687 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Joseph Evans 2012-08-21 17:46:07 +00:00
parent 0c2887b617
commit ca2dc3e785
3 changed files with 5 additions and 2 deletions

View File

@ -821,6 +821,9 @@ Release 0.23.3 - UNRELEASED
MAPREDUCE-3506. Calling getPriority on JobInfo after parsing a history log
with JobHistoryParser throws a NullPointerException (Jason Lowe via bobby)
MAPREDUCE-4570. ProcfsBasedProcessTree#constructProcessInfo() prints a
warning if procfsDir/<pid>/stat is not found. (Ahmed Radwan via bobby)
Release 0.23.2 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -512,7 +512,7 @@ private static ProcessInfo constructProcessInfo(ProcessInfo pinfo,
in = new BufferedReader(fReader);
} catch (FileNotFoundException f) {
// The process vanished in the interim!
LOG.warn("The process " + pinfo.getPid()
LOG.info("The process " + pinfo.getPid()
+ " may have finished in the interim.");
return ret;
}

View File

@ -410,7 +410,7 @@ private static ProcessInfo constructProcessInfo(ProcessInfo pinfo,
in = new BufferedReader(fReader);
} catch (FileNotFoundException f) {
// The process vanished in the interim!
LOG.warn("The process " + pinfo.getPid()
LOG.info("The process " + pinfo.getPid()
+ " may have finished in the interim.");
return ret;
}