[
https://issues.apache.org/jira/browse/HDFS-9359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen updated HDFS-9359:
--------------------------
Attachment: HDFS-9359.HDFS-8707.001.patch
hdfs_shim.c is created to support testing part of libhdfs++ that have been
implemented. Functions not implemented in libhdfs++ are delegated to libhdfs.
HDFS-9359.HDFS-8707.001.patch is mostly mechanically generated #defines (and
corresponding #undefs) to rename symbols. Other ways of doing this were
platform or compiler specific (e.g. objcopy or -fprefix-function-name).
> Test libhdfs++ with existing libhdfs tests
> ------------------------------------------
>
> Key: HDFS-9359
> URL: https://issues.apache.org/jira/browse/HDFS-9359
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: James Clampffer
> Assignee: Stephen
> Attachments: HDFS-9359.HDFS-8707.001.patch
>
>
> Leverage existing libhdfs tests, such as test_libhdfs_threaded.c, to exercise
> functionality implemented in libhdfs\+\+. The remainder of functionality
> needed to run the tests can be supported by delegating to libhdfs. This
> allows functions implemented in libhdfs++ to be tested prior to implementing
> the entirety of the hdfs c-api (i.e. reads can be tested prior to
> implementing writes).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)