hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9679) libhdfs++: Implement hdfsSeek and hdfsTell that return 64 bit types
Date Thu, 21 Jan 2016 22:37:39 GMT
James Clampffer created HDFS-9679:
-------------------------------------

             Summary: libhdfs++: Implement hdfsSeek and hdfsTell that return 64 bit types
                 Key: HDFS-9679
                 URL: https://issues.apache.org/jira/browse/HDFS-9679
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: James Clampffer
            Assignee: James Clampffer


hdfsSeek and hdfsTell in the libhdfs API return int while libhdfs++ uses int64_t internally.
 When seeking to the end of very large files the 64->32 bit narrowing operation done by
the bindings gives offset mod 2^32 rather than the offset.

hdfsSeek64 and hdfsTell64 need to be added to the extended C API to avoid these issues.



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

Mime
View raw message