[
https://issues.apache.org/jira/browse/HDFS-12340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shashikant Banerjee updated HDFS-12340:
---------------------------------------
Attachment: ozoneClient.C
ozoneClient.h
main.C
The uploaded patch consists of 3 files:
1)ozoneClient.C - implements the following API's of ozoneClient library:
a) CreateVolume
b) CreateBucket
c) PutKey
d) GetKey
2) ozoneClient.h -- Contains the prototypes for the ozoneClient Library API's
3) main. C - Application using the API for the ozoneClient Library
The implementation has been done using the libcurl API's .
To Do:
1)There are issue with reusing the same curl easy handles in between calls to
different API's of the ozoneClient from the application which need to be
optimized.Currently , for every API the curl handle is cleaned up and recreated
gain as otherwise, the subsequent operations using the same handle hang over
HTTP.
2) Needs integeration with maven for building with Ozone source repository.
3) Needs further implementation of remaining API's for ozoneClient.
> Ozone: C/C++ implementation of ozone client using curl
> ------------------------------------------------------
>
> Key: HDFS-12340
> URL: https://issues.apache.org/jira/browse/HDFS-12340
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Fix For: HDFS-7240
>
> Attachments: main.C, ozoneClient.C, ozoneClient.h
>
>
> This Jira is introduced for implementation of ozone client in C/C++ using
> curl library.
> All these calls will make use of HTTP protocol and would require libcurl. The
> libcurl API are referenced from here:
> https://curl.haxx.se/libcurl/
> Additional details would be posted along with the patches.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]