hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4508) FSDataOutputStream.getPos() == 0when appending to existing file and should be file length
Date Thu, 13 Nov 2008 18:36:46 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647359#action_12647359
] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4508:
------------------------------------------------

> I am not finding i very elegant to make it final because it is set inside one constructor
invokes the other constructor

yeah, you need to change all constructors to make it work.  I am fine with the current code.

+1 new patch looks good

> FSDataOutputStream.getPos() == 0when appending to existing file and should be file length
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4508
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4508
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.19.0, 0.20.0
>            Reporter: Pete Wyckoff
>            Assignee: dhruba borthakur
>         Attachments: appendGetPos.patch, appendGetPos2.patch, appendGetPos3.patch, HADOOP-4508.txt
>
>
> does not seem getPos is set correctly when opening an existing file with non-zero length
in append mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message