[ 
https://issues.apache.org/jira/browse/HDFS-14530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17491436#comment-17491436
 ] 

Ahmed Riza commented on HDFS-14530:
-----------------------------------

I can confirm what [[email protected]] has found.  I've checked the 
`libhdfspp` distributed with *hadoop-3.3.1* as well as one I've built from 
latest master.  Both versions do not contain an implementation of the 
`hdfsWrite` function.  Example:
{code:java}
strings hadoop-3.3.1/lib/native/libhdfspp.so.0.1.0 | grep hdfsWrite{code}
returns no results, In contrast, we can see that the `hdfsRead` function is 
available, for example:
{code:java}
strings hadoop-3.3.1/lib/native/libhdfspp.so.0.1.0 | grep hdfsRead

hdfsReadStatisticsGetRemoteBytesRead
hdfsRead
hdfsReadStatistics
hdfsReadStatisticsGetRemoteBytesRead
hdfsRead
hdfsRead
hdfsReadStatisticsGetRemoteBytesRead
{code}
It would be great, if someone could confirm whether there's a plan to add 
`hdfsWrite` support to `libhdfspp`.  The implementation of the library is new 
to me, but willing to learn and contribute if I can.

> libhdfspp is missing functions like hdfsWrite
> ---------------------------------------------
>
>                 Key: HDFS-14530
>                 URL: https://issues.apache.org/jira/browse/HDFS-14530
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs++
>    Affects Versions: 3.1.0, 2.8.5
>            Reporter: Krishna Kishore
>            Priority: Major
>             Fix For: 3.1.0, 2.8.5
>
>
> I have downloaded code from [https://github.com/apache/hadoop] and compiled 
> libhdfspp. I couldn't find how to use this library, libhdfspp.so . I see that 
> some functions like hdfsWrite(), hdfsHSync() are missing from this library.
> This library is unusable without the write functionality. Please let me know 
> if there is a way  to use the write functionality with current hdfs++ code or 
> if there are plans for adding this functionality.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to