hadoop-hdfs-issues 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: (HDFS-814) Add an api to get the visible length of a DFSDataInputStream.
Date Thu, 04 Mar 2010 23:13:41 GMT

    [ https://issues.apache.org/jira/browse/HDFS-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841597#action_12841597
] 

Tsz Wo (Nicholas), SZE commented on HDFS-814:
---------------------------------------------

getLength-yahoo-0.20.patch looks good.  Thanks Hairong.

> Add an api to get the visible length of a DFSDataInputStream.
> -------------------------------------------------------------
>
>                 Key: HDFS-814
>                 URL: https://issues.apache.org/jira/browse/HDFS-814
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: hdfs client
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: getLength-yahoo-0.20.patch, h814_20091221.patch, h814_20091221_0.21.patch
>
>
> Hflush guarantees that the bytes written before are visible to the new readers.  However,
there is no way to get the length of the visible bytes.  The visible length is useful in some
applications like SequenceFile.

-- 
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