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

Ivan Mitic commented on MAPREDUCE-4203:
---------------------------------------

bq. ProcessInfo.age initializes to 1. So newpInfo.age += oldpInfo.age does what 
you say apart from allowing newpInfo to have a different age too.
I see. It seems that they are over-incrementing the value in 
{{ProcfsBasedProcessTree}} as the default value is also one. 
bq. The main calling function will do that with the return code of this 
function.
I could not find this...would you mind checking?

Thanks!
                
> 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 windows.

--
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

        

Reply via email to