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

Haibo Chen commented on MAPREDUCE-6673:
---------------------------------------

Thanks [[email protected]] for the patch. Two nits,
1) We should probably add description of the behavior of growing memory usage 
over time in the class javadoc
2) 
bq.    LOG.info("Free = " + free + ". Creating 1 MB on the heap.");
can be LOG.info("Free memory = " + free + " bytes. Creating 1MB on the heap");
The patch no longer applies cleanly to trunk, otherwise LGTM.

> Add a test example job that grows in memory usage over time
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-6673
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6673
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 2.8.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>         Attachments: mr-6673-1.patch
>
>
> While working on YARN-1011, I needed to put together an example that would 
> have tasks increase their resource usage deterministically over time. It 
> would be useful for any other utilization related work or stress tests. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to