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-9679) libhdfs++: Fix inconsistencies with libhdfs C API
Date Thu, 28 Jan 2016 22:07:39 GMT

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

James Clampffer updated HDFS-9679:
----------------------------------
    Status: Patch Available  (was: Open)

> libhdfs++: Fix inconsistencies with libhdfs C API
> -------------------------------------------------
>
>                 Key: HDFS-9679
>                 URL: https://issues.apache.org/jira/browse/HDFS-9679
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>         Attachments: HDFS-9679.HDFS-8707.000.patch
>
>
> There is at least 1 minor inconsistency with the libhdfs api.  Currently hdfsSeek returns
a 32 bit int to indicate the result offset of a seek, similar to a posix lseek.  It should
return 1 and 0 as error codes.  If someone starts using hdfsSeek like they would lseek everything
works great - until you have an >4GB offset and the upper bits are truncated.



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

Mime
View raw message