You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Sriranjan Manjunath (JIRA)" <ji...@apache.org> on 2009/12/01 10:35:21 UTC
[jira] Created: (MAPREDUCE-1257) Ability to grab the number of
spills
Ability to grab the number of spills
------------------------------------
Key: MAPREDUCE-1257
URL: https://issues.apache.org/jira/browse/MAPREDUCE-1257
Project: Hadoop Map/Reduce
Issue Type: New Feature
Reporter: Sriranjan Manjunath
The counters should have information about the number of spills in addition to the number of spill records.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAPREDUCE-1257) Ability to grab the number of
spills
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated MAPREDUCE-1257:
-----------------------------------
Attachment: mapreduce-1257.txt
Patch adds the following counters:
|MAP_SPILLS|Map spills performed|
|MAP_MERGE_PASSES.name|Map output merge passes|
|REDUCE_MERGE_PASSES.name|Reduce input merge passes|
There were some tricky decisions about what to count as a merge pass. I decided to count the merge that feeds directly into the reducer as a merge pass, but didn't count intermediate in-memory merges, for example. Would appreciate review of whether the decisions of which to count make sense, or if we should add more counters to separate out the different cases for in-memory, on-disk, etc.
> Ability to grab the number of spills
> ------------------------------------
>
> Key: MAPREDUCE-1257
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1257
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Affects Versions: 0.22.0
> Reporter: Sriranjan Manjunath
> Assignee: Todd Lipcon
> Fix For: 0.22.0
>
> Attachments: mapreduce-1257.txt
>
>
> The counters should have information about the number of spills in addition to the number of spill records.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (MAPREDUCE-1257) Ability to grab the number of
spills
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon reassigned MAPREDUCE-1257:
--------------------------------------
Assignee: (was: Todd Lipcon)
> Ability to grab the number of spills
> ------------------------------------
>
> Key: MAPREDUCE-1257
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1257
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Affects Versions: 0.22.0
> Reporter: Sriranjan Manjunath
> Fix For: 0.22.0
>
> Attachments: mapreduce-1257.txt
>
>
> The counters should have information about the number of spills in addition to the number of spill records.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (MAPREDUCE-1257) Ability to grab the number of
spills
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon reassigned MAPREDUCE-1257:
--------------------------------------
Assignee: Todd Lipcon
> Ability to grab the number of spills
> ------------------------------------
>
> Key: MAPREDUCE-1257
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1257
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Reporter: Sriranjan Manjunath
> Assignee: Todd Lipcon
>
> The counters should have information about the number of spills in addition to the number of spill records.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAPREDUCE-1257) Ability to grab the number of
spills
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated MAPREDUCE-1257:
-------------------------------------
Status: Open (was: Patch Available)
bq. My plan was to backport it into our distribution for 20, where a backport of MAPREDUCE-64 is pretty unlikely since that change is much riskier.
*nod* Makes sense. I'm going to cancel the patch for now, pending a current use case.
Do you count the in-memory merge into the reduce?
> Ability to grab the number of spills
> ------------------------------------
>
> Key: MAPREDUCE-1257
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1257
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Affects Versions: 0.22.0
> Reporter: Sriranjan Manjunath
> Assignee: Todd Lipcon
> Fix For: 0.22.0
>
> Attachments: mapreduce-1257.txt
>
>
> The counters should have information about the number of spills in addition to the number of spill records.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAPREDUCE-1257) Ability to grab the number of
spills
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated MAPREDUCE-1257:
-----------------------------------
Fix Version/s: 0.22.0
Affects Version/s: 0.22.0
Status: Patch Available (was: Open)
> Ability to grab the number of spills
> ------------------------------------
>
> Key: MAPREDUCE-1257
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1257
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Affects Versions: 0.22.0
> Reporter: Sriranjan Manjunath
> Assignee: Todd Lipcon
> Fix For: 0.22.0
>
> Attachments: mapreduce-1257.txt
>
>
> The counters should have information about the number of spills in addition to the number of spill records.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAPREDUCE-1257) Ability to grab the number of
spills
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785805#action_12785805 ]
Chris Douglas commented on MAPREDUCE-1257:
------------------------------------------
I disagree with the premise of this issue. What information does the number of spills provide? What's important for performance is how many records are hitting local disk as intermediate data. Consider applications running with a combiner; only a small fraction of data spilled may hit disk. The number of spills is a crude approximation of what the existing metrics provide: guidance on how to set io.sort.record.percent, which will be removed in 0.22.
> Ability to grab the number of spills
> ------------------------------------
>
> Key: MAPREDUCE-1257
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1257
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Affects Versions: 0.22.0
> Reporter: Sriranjan Manjunath
> Assignee: Todd Lipcon
> Fix For: 0.22.0
>
> Attachments: mapreduce-1257.txt
>
>
> The counters should have information about the number of spills in addition to the number of spill records.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAPREDUCE-1257) Ability to grab the number of
spills
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786216#action_12786216 ]
Todd Lipcon commented on MAPREDUCE-1257:
----------------------------------------
Chris: I don't feel strongly about this. I like it for the exact reason you mentioned - makes it easier to tune io.sort.record.percent (or at least see at a glance whether such tuning could help). My plan was to backport it into our distribution for 20, where a backport of MAPREDUCE-64 is pretty unlikely since that change is much riskier.
If no one else wants this, happy to resolve as wontfix. Would be interested to hear from the original reporter, though, before doing so.
> Ability to grab the number of spills
> ------------------------------------
>
> Key: MAPREDUCE-1257
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1257
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Affects Versions: 0.22.0
> Reporter: Sriranjan Manjunath
> Assignee: Todd Lipcon
> Fix For: 0.22.0
>
> Attachments: mapreduce-1257.txt
>
>
> The counters should have information about the number of spills in addition to the number of spill records.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAPREDUCE-1257) Ability to grab the number of
spills
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785822#action_12785822 ]
Hadoop QA commented on MAPREDUCE-1257:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12426868/mapreduce-1257.txt
against trunk revision 887061.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/288/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/288/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/288/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/288/console
This message is automatically generated.
> Ability to grab the number of spills
> ------------------------------------
>
> Key: MAPREDUCE-1257
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1257
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Affects Versions: 0.22.0
> Reporter: Sriranjan Manjunath
> Assignee: Todd Lipcon
> Fix For: 0.22.0
>
> Attachments: mapreduce-1257.txt
>
>
> The counters should have information about the number of spills in addition to the number of spill records.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.