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

James Clampffer updated HDFS-9679:
----------------------------------
    Summary: libhdfs++: Implement lseek in the extended C API  (was: libhdfs++: 
Implement hdfsSeek and hdfsTell that return 64 bit types)

> libhdfs++: Implement lseek in the extended 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
>
> 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)

Reply via email to