hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9368) Implement reads with implicit offset state in libhdfs++
Date Thu, 12 Nov 2015 19:17:11 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Clampffer updated HDFS-9368:
----------------------------------
    Attachment: HDFS-9368.HDFS-8707.001.patch

New patch:
-Added bounds checks, turns out InputStreamImpl had everything needed.
-Added hdfsTell to C API in addition to hdfsRead and hdfsSeek
-Added whence argument for FileHandle::seek to make seek act like posix.

> Implement reads with implicit offset state in libhdfs++
> -------------------------------------------------------
>
>                 Key: HDFS-9368
>                 URL: https://issues.apache.org/jira/browse/HDFS-9368
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>         Attachments: HDFS-9368.HDFS-8707.000.patch, HDFS-9368.HDFS-8707.001.patch
>
>
> Currently only positional reads are supported.  Implement a stateful read that keeps
track of offset into file.  Also expose it in the c bindings as hdfsRead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message