[
https://issues.apache.org/jira/browse/HAWQ-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529573#comment-16529573
]
Sergei Lebedev commented on HAWQ-1624:
--------------------------------------
[~wangzw] could you kindly elaborate on the hdfsPread inefficiency?
> Make libhdfs3 binary compatible with libhdfs
> --------------------------------------------
>
> Key: HAWQ-1624
> URL: https://issues.apache.org/jira/browse/HAWQ-1624
> Project: Apache HAWQ
> Issue Type: Improvement
> Components: libhdfs
> Reporter: Sergei Lebedev
> Assignee: Radar Lei
> Priority: Minor
>
> libhdfs3 is almost binary compatible with libhdfs. The missing bits are:
> * libhdfs3 does not define hdfsPread which nonetheless can be implemented in
> terms of hdfsTell, hdfsSeek and hdfsRead;
> * hdfsSync is called hdfsHSync in libhdfs3;
> * In libhdfs hdfsFlush flushes the internal buffer of the
> BufferedInputStream; in libhdfs3 it always flushes to HDFS, i.e. it does what
> hdfsHFlush should do.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)