Issue Details (XML | Word | Printable)

Key: HADOOP-4508
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: dhruba borthakur
Reporter: Pete Wyckoff
Votes: 0
Watchers: 2
Operations

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

FSDataOutputStream.getPos() == 0when appending to existing file and should be file length

Created: 23/Oct/08 06:12 PM   Updated: 24/Feb/09 11:37 PM
Return to search
Component/s: fs
Affects Version/s: 0.19.0, 0.20.0
Fix Version/s: 0.19.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works appendGetPos.patch 2008-10-23 10:36 PM dhruba borthakur 4 kB
Text File Licensed for inclusion in ASF works appendGetPos2.patch 2008-11-02 09:29 AM dhruba borthakur 4 kB
Text File Licensed for inclusion in ASF works appendGetPos3.patch 2008-11-13 09:35 AM dhruba borthakur 4 kB
Text File Licensed for inclusion in ASF works HADOOP-4508.txt 2008-10-23 06:20 PM Pete Wyckoff 0.7 kB
Issue Links:
Dependants
 

Hadoop Flags: Reviewed
Resolution Date: 04/Dec/08 10:22 PM


 Description  « Hide
does not seem getPos is set correctly when opening an existing file with non-zero length in append mode.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order