[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amar Kamat updated MAPREDUCE-4083:
----------------------------------

    Attachment: mapreduce-4083-v1.0.patch

Attaching a patch that fixes this issue. With this patch, the emulators will 
return progress = 1 when the plugin is disabled indicating that no emulation is 
required. Added a JUnit test for the same.

test-patch and ant tests passed on my box.
                
> GridMix emulated job tasks.resource-usage emulator for CPU usage throws NPE 
> when Trace contains cumulativeCpuUsage value of 0 at attempt level
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4083
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4083
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/gridmix
>    Affects Versions: 1.1.0
>            Reporter: Karam Singh
>         Attachments: mapreduce-4083-v1.0.patch
>
>
> GridMix emulated job tasks.resource-usage emulator for CPU usage throws NPE 
> when Trace contains cumulativeCpuUsage value of 0 at attempt level

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