Issue Details (XML | Word | Printable)

Key: HADOOP-5008
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Hairong Kuang
Reporter: Hairong Kuang
Votes: 0
Watchers: 0
Operations

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

TestReplication#testPendingReplicationRetry leaves an opened fd unclosed

Created: 09/Jan/09 11:30 PM   Updated: 24/Feb/09 11:37 PM
Return to search
Component/s: test
Affects Version/s: 0.18.0
Fix Version/s: 0.19.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works testReplicationFd.patch 2009-01-09 11:38 PM Hairong Kuang 0.7 kB

Hadoop Flags: Reviewed
Resolution Date: 12/Jan/09 08:25 PM


 Description  « Hide
The unit test opens a block file to overwrite but does not close it; So subsequent test would fail because the data directory is not able to be removed.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Hairong Kuang added a comment - 09/Jan/09 11:38 PM
Patch is attached.

Tsz Wo (Nicholas), SZE added a comment - 10/Jan/09 12:28 AM
+1 patch looks good.

Hairong Kuang added a comment - 12/Jan/09 08:25 PM
I've just committed this.