Issue Details (XML | Word | Printable)

Key: MAPREDUCE-245
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tom White
Reporter: Tom White
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Hadoop Map/Reduce

Job and JobControl classes should return interfaces rather than implementations

Created: 09/Apr/08 02:37 PM   Updated: 25/Jul/09 03:45 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 0.21.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works MAPREDUCE-245.patch 2009-07-19 07:31 AM Chris Douglas 6 kB
Text File Licensed for inclusion in ASF works MAPREDUCE-245.patch 2009-06-29 01:40 PM Tom White 6 kB
Text File Licensed for inclusion in ASF works MAPREDUCE-245.patch 2009-06-22 03:31 PM Tom White 4 kB
Issue Links:
Reference
 

Hadoop Flags: Reviewed, Incompatible change
Resolution Date: 19/Jul/09 07:32 AM


 Description  « Hide
See HADOOP-2202 and HADOOP-2268 for background on this. I am creating a new issue, since the previous two did not fix the problem, and it can be addressed when we make non backwards compatible changes to Hadoop (perhaps along with HADOOP-1230).

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Tom White added a comment - 22/Jun/09 03:31 PM
A patch for the new job control API in the mapreduce package. The mapred package is left unchanged.

Amareshwari Sriramadasu added a comment - 24/Jun/09 10:22 AM
Patch looks good.

Chris Douglas added a comment - 29/Jun/09 07:45 AM
The patch does not compile (JobControl::castToJobList)

Tom White added a comment - 29/Jun/09 01:40 PM
Here's a new patch which compiles, and passes the old and new job control tests (last time I thought I had successfully run the new tests, but clearly I hadn't).

Hadoop QA added a comment - 07/Jul/09 08:23 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12412070/MAPREDUCE-245.patch
against trunk revision 791909.

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

+1 tests included. The patch appears to include 3 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 failed contrib unit tests.

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

This message is automatically generated.


Chris Douglas added a comment - 19/Jul/09 07:31 AM
Overlapping change conflicts; attaching trivial merge

Chris Douglas added a comment - 19/Jul/09 07:32 AM
I committed this. Thanks, Tom!

Hudson added a comment - 25/Jul/09 03:45 PM
Integrated in Hadoop-Mapreduce-trunk #29 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/29/)