Issue Details (XML | Word | Printable)

Key: HADOOP-3861
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tom White
Reporter: Tom White
Votes: 0
Watchers: 1
Operations

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

Make MapFile.Reader and Writer implement java.io.Closeable

Created: 30/Jul/08 08:37 AM   Updated: 20/Nov/08 11:38 PM
Return to search
Component/s: io
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 hadoop-3861.patch 2008-07-30 08:39 AM Tom White 0.9 kB

Hadoop Flags: Reviewed
Resolution Date: 30/Jul/08 10:01 PM


 Description  « Hide
Both MapFile.Reader and Writer have a close() method with the right signature. They just need to declare that they implement Closeable.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Tom White added a comment - 30/Jul/08 08:39 AM
Patch implementing the change.

Hadoop QA added a comment - 30/Jul/08 10:24 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12387171/hadoop-3861.patch
against trunk revision 680823.

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

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

This message is automatically generated.


Doug Cutting added a comment - 30/Jul/08 04:03 PM
+1 This looks good to me. Thanks, Tom!

Owen O'Malley added a comment - 30/Jul/08 10:01 PM
I just committed this. Thanks, Tom!

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