[
https://issues.apache.org/jira/browse/MAPREDUCE-6720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342202#comment-15342202
]
Varun Saxena edited comment on MAPREDUCE-6720 at 6/21/16 5:19 PM:
------------------------------------------------------------------
bq. well what we are doing at the end is publishing the aggregated map and/or
Reduce counters as application metrics
I know that. What I meant is that you can get this info via task counters as
well. I mean client can then aggregate values from all the map or reduce tasks.
We anyways do not have map/reduce aggregations explicit in our hierarchy as of
now.
I understand map and reduce level aggregation is also useful. But we just need
to weigh it against the fact that it will increase number of metrics reported.
And these metrics will then be aggregated to flow run level as well. I am fine
with it. Infact have a patch ready for it. Just wanted to put it out there. So
that a view can be sought.
bq. Thinking more over it, we probably have no way of filtering out Map and
reduce tasks right now. Maybe we can specify in info that a particular task is
MAP or REDUCE.
bq. Not clear what you meant by this.
I meant that if we say give me all the map or reduce tasks for this app, we
cannot quite do it currently as task type is not explicitly stored. We can
probably store it in info.
was (Author: varun_saxena):
bq. well what we are doing at the end is publishing the aggregated map and/or
Reduce counters as application metrics
I know that. What I meant is that you can get this info via task counters as
well. I mean client can then aggregate values from all the map tasks. We
anyways do not have map/reduce aggregations explicit in our hierarchy as of now.
I understand map and reduce level aggregation is also useful. But we just need
to weigh it against the fact that it will increase number of metrics reported.
And these metrics will then be aggregated to flow run level as well. I am fine
with it. Infact have a patch ready for it. Just wanted to put it out there. So
that a view can be sought.
bq. Thinking more over it, we probably have no way of filtering out Map and
reduce tasks right now. Maybe we can specify in info that a particular task is
MAP or REDUCE.
bq. Not clear what you meant by this.
I meant that if we say give me all the map or reduce tasks for this app, we
cannot quite do it currently as task type is not explicitly stored. We can
probably store it in info.
> 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, MAPREDUCE-6720-YARN-2928.02.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]