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

Siddharth Seth commented on MAPREDUCE-5077:
-------------------------------------------

Karthik, TestResourceUsageEmulators still has some changes. Are the changes 
required ?
{code}
-
-    /**
-     * Returns a {@link ProcResourceValues} with cumulative cpu usage
-     * computed using {@link #getCumulativeCpuTime()}.
-     */
-    @Override
-    public ProcResourceValues getProcResourceValues() {
-      long usageValue = getCumulativeCpuTime();
-      return new ProcResourceValues(usageValue, -1, -1);
-    }
{code}
                
> Cleanup: mapreduce.util.ResourceCalculatorPlugin and related code should be 
> removed
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5077
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5077
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.0.3-alpha
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>            Priority: Minor
>         Attachments: mr-5077.patch, mr-5077.patch, mr-5077.patch
>
>
> {{ResourceCalculatorPlugin}} and {{ProcfsBasedProcessTree}} have moved to 
> yarn.util and the mapreduce.util versions don't seem to be used anymore. 
> Should remove related code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to