[
https://issues.apache.org/jira/browse/MAPREDUCE-6720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342194#comment-15342194
]
Joep Rottinghuis commented on MAPREDUCE-6720:
---------------------------------------------
The advantage of using a prefix for MAP_, REDUCE_, and TOTAL_ is that it would
be easy (and efficient) to pull back only one set if desired. This would be at
the cost of pulling back all counters (MAP_, REDUCE_, and TOTAL_) for some
other prefix such as FILE, which would then turn into something like:
[MAP_FILE_*, REDUCE_FILE*, TOTAL_FILE*].
I think users are still more likely to either pull everything back, or
specifically only for mappers, reducers or total.
If we want to reduce the write volume we could consider rolling up only the
total to the flow level. I can see the value of map counters separate from
reduce counters per job, but I'm not clear what the meaning would be of a sum
of these across multiple jobs in a flow. Then again, we can just write first
and ask questions later.
> Inconsistent values of counters across tasks and job reported to timeline
> service.
> ----------------------------------------------------------------------------------
>
> Key: MAPREDUCE-6720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6720
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Components: applicationmaster
> Affects Versions: YARN-2928
> Reporter: Varun Saxena
> Assignee: Varun Saxena
> Labels: yarn-2928-1st-milestone
> Attachments: Counters For Job.png, Counters for Tasks.png,
> MAPREDUCE-6720-YARN-2928.01.patch
>
>
> While testing found below issue. For some of the task counters, we do not
> have consistent values. This is not the case with every counter though.
> Consider the case of counter
> "org.apache.hadoop.mapreduce.FileSystemCounter:FILE_BYTES_WRITTEN".
> I found that its value for a flow I ran, was 936018 bytes. For the 3 apps
> associated with this flow run, the values were 312006 bytes each (which
> equals to value for a flow run i.e. 3 * 312006 = 936018). Drilling further
> down I found though that for one of the apps, the 4 tasks(2 mappers and 2
> reducers) had values as 155918 bytes each for the 2 reducers and 156003 bytes
> each for the 2 mappers.
> This means the value reported for the app should be (2 * 156003 + 2* 155918)
> or 623842 bytes but it is only 312006 bytes which indicates that only counter
> value of mappers is being picked up.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]