Issue Details (XML | Word | Printable)

Key: HADOOP-2895
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Martin Traverso
Reporter: Martin Traverso
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

String for configuring profiling should be customizable

Created: 26/Feb/08 03:40 AM   Updated: 08/Jul/09 04:52 PM
Return to search
Component/s: None
Affects Version/s: 0.16.0
Fix Version/s: 0.17.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works HADOOP-2895-2.patch 2008-02-28 09:51 PM Martin Traverso 4 kB
Text File Licensed for inclusion in ASF works HADOOP-2895.patch 2008-02-27 07:30 PM Martin Traverso 6 kB

Resolution Date: 29/Feb/08 07:11 PM


 Description  « Hide
The choice of options that Hadoop uses may not be appropriate for all cases, so it would make sense to make this string configurable.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Traverso added a comment - 27/Feb/08 07:30 PM
This patch adds a new property (mapred.task.profile.params) to configure the parameters that get passed to the child vm for when profiling is enabled.

Hadoop QA added a comment - 28/Feb/08 07:05 AM
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12376662/HADOOP-2895.patch
against trunk revision 619744.

@author +1. The patch does not contain any @author tags.

tests included +1. The patch appears to include 3 new or modified tests.

javadoc +1. The javadoc tool did not generate any warning messages.

javac +1. The applied patch does not generate any new javac compiler warnings.

release audit +1. The applied patch does not generate any new release audit warnings.

findbugs +1. The patch does not introduce any new Findbugs warnings.

core tests +1. The patch passed core unit tests.

contrib tests +1. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1858/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1858/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1858/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1858/console

This message is automatically generated.


Chris Douglas added a comment - 28/Feb/08 09:35 PM
The patch looks good. A minor nit: reordering/sorting the import stmts to match your preferences- and formatting changes in general- adds unnecessary noise and is best avoided unless the changes to the affected classes are dramatic. Would you mind regenerating your patch without those modifications? Otherwise, +1

Martin Traverso added a comment - 28/Feb/08 09:51 PM
Agreed. That was unintentional – apparently I had IDEA configured to optimize imports when generating patches.

Here's a new patch with only the necessary changes.


Hadoop QA added a comment - 29/Feb/08 01:27 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12376769/HADOOP-2895-2.patch
against trunk revision 619744.

@author +1. The patch does not contain any @author tags.

tests included +1. The patch appears to include 3 new or modified tests.

javadoc +1. The javadoc tool did not generate any warning messages.

javac +1. The applied patch does not generate any new javac compiler warnings.

release audit +1. The applied patch does not generate any new release audit warnings.

findbugs +1. The patch does not introduce any new Findbugs warnings.

core tests -1. The patch failed core unit tests.

contrib tests +1. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1868/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1868/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1868/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1868/console

This message is automatically generated.


Chris Douglas added a comment - 29/Feb/08 07:11 PM
I just committed this. Thanks, Martin!

Hudson added a comment - 01/Mar/08 12:15 PM