hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bikas Saha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4203) Create equivalent of ProcfsBasedProcessTree for Windows
Date Tue, 19 Jun 2012 19:28:42 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397001#comment-13397001

Bikas Saha commented on MAPREDUCE-4203:

1) ProcessInfo.age initializes to 1. So newpInfo.age += oldpInfo.age does what you say apart
from allowing newpInfo to have a different age too.
2) In the real use case, setProcessPid() is called to set the pid. But there are a bunch of
gridmix/ tests that depend on the old behavior of snooping the JVM_PID from the env var on
the fly and I did not want to change all of them. So I added this to keep the tests passing
without change.
3) Forgot to add that. Will do. Thanks!
4) Thats strange because I can see that the values are not zero and in fact similar to values
shown in TaskManager. Will change to PrivateUsage anyways to be safe.
5) Will do.
6) The main calling function will do that with the return code of this function.
> Create equivalent of ProcfsBasedProcessTree for Windows
> -------------------------------------------------------
>                 Key: MAPREDUCE-4203
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4203
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>         Attachments: MAPREDUCE-4203.branch-1-win.1.patch, MAPREDUCE-4203.branch-1-win.2.patch,
MAPREDUCE-4203.patch, test.cpp
> ProcfsBasedProcessTree is used by the TaskTracker to get process information like memory
and cpu usage. This information is used to manage resources etc. The current implementation
is based on Linux procfs functionality and hence does not work on other platforms, specifically

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message