You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "James Clampffer (JIRA)" <ji...@apache.org> on 2016/01/21 23:37:39 UTC

[jira] [Created] (HDFS-9679) libhdfs++: Implement hdfsSeek and hdfsTell that return 64 bit types

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)