svn merge -c 1375687 FIXES: 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/branches/branch-2@1375691 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Joseph Evans 2012-08-21 17:47:08 +00:00
parent f3f8edbd10
commit 1ee0c23b39
3 changed files with 5 additions and 2 deletions

View File

@ -697,6 +697,9 @@ Release 0.23.3 - UNRELEASED
MAPREDUCE-3506. Calling getPriority on JobInfo after parsing a history log MAPREDUCE-3506. Calling getPriority on JobInfo after parsing a history log
with JobHistoryParser throws a NullPointerException (Jason Lowe via bobby) 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 Release 0.23.2 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

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

View File

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