[ https://issues.apache.org/jira/browse/HIVE-14215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15375604#comment-15375604 ]
Aihua Xu commented on HIVE-14215: --------------------------------- I see. It's missing the last reading of the counter after the execution finishes. +1. > Displaying inconsistent CPU usage data with MR execution engine > --------------------------------------------------------------- > > Key: HIVE-14215 > URL: https://issues.apache.org/jira/browse/HIVE-14215 > Project: Hive > Issue Type: Bug > Affects Versions: 2.2.0 > Reporter: Peter Vary > Assignee: Peter Vary > Priority: Minor > Attachments: HIVE-14215.patch > > > If the MR task is finished after printing the cumulative CPU time then there > is the possibility to print inconsistent CPU usage information. > Correct one: > {noformat} > 2016-07-12 11:31:42,961 Stage-3 map = 0%, reduce = 0% > 2016-07-12 11:31:48,237 Stage-3 map = 100%, reduce = 0%, Cumulative CPU 2.5 > sec > MapReduce Total cumulative CPU time: 2 seconds 500 msec > Ended Job = job_1468321038188_0003 > MapReduce Jobs Launched: > Stage-Stage-3: Map: 1 Cumulative CPU: 2.5 sec HDFS Read: 5864 HDFS Write: > 103 SUCCESS > Total MapReduce CPU Time Spent: 2 seconds 500 msec > {noformat} > One type of inconsistent data (easily reproducible one): > {noformat} > 2016-07-12 11:39:00,540 Stage-3 map = 0%, reduce = 0% > Ended Job = job_1468321038188_0004 > MapReduce Jobs Launched: > Stage-Stage-3: Map: 1 Cumulative CPU: 2.51 sec HDFS Read: 5864 HDFS > Write: 103 SUCCESS > Total MapReduce CPU Time Spent: 2 seconds 510 msec > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)