Issue Details (XML | Word | Printable)

Key: HADOOP-3684
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Runping Qi
Reporter: Runping Qi
Votes: 0
Watchers: 0
Operations

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

The data_join should allow the user to implement a customer cloning function

Created: 02/Jul/08 10:01 PM   Updated: 08/Jul/09 04:52 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.19.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works H-3684.txt 2008-07-03 01:45 AM Runping Qi 2 kB

Hadoop Flags: Reviewed
Release Note: Allowed user to overwrite clone function in a subclass of TaggedMapOutput class.
Resolution Date: 10/Jul/08 10:16 PM


 Description  « Hide
Currently, the framework uses serialization/deserialization to clone the values passed to the resuce function.
This amounts to a very heavy weight deep copy of the value objects.
That is way too expensive. Although that may be a generic way to work for all possible value classes, thus good as a default way,
the framework should allow the user to implemet an application specific yet efficient cloning function.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Runping Qi added a comment - 02/Jul/08 10:09 PM

Attach a simple patch.

This patch allows the user to overwrite the clone(JobConf job)
method in the subclass of TaggedMapOutputclass.


Hadoop QA added a comment - 03/Jul/08 12:06 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12385153/H-3684.txt
against trunk revision 673517.

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

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

-1 patch. The patch command could not apply the patch.

Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2786/console

This message is automatically generated.


Runping Qi added a comment - 03/Jul/08 01:46 AM

regenerate the patch

Hadoop QA added a comment - 03/Jul/08 04:55 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12385161/H-3684.txt
against trunk revision 673517.

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

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

+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 failed contrib unit tests.

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

This message is automatically generated.


Chris Douglas added a comment - 10/Jul/08 08:07 PM
+1

Chris Douglas added a comment - 10/Jul/08 10:16 PM
I just committed this. Thanks, Runping

Hudson added a comment - 22/Aug/08 12:34 PM