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)