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

Owen O'Malley commented on HDFS-14244:
--------------------------------------

No, it isn't. With BUILD_SHARED_LIBS=ON the libhdfspp build was broken.

However in digging into this, I think that we need a pretty major refactoring 
of the libhdfspp build system.

In particular:
* Remove the source code from 
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party
 .
* Fix support for shared/static libraries.
* Use the packages installed on the system when they are available.
* Add support for rpath on mac os.
* Run the unit tests when building stand alone.
* Use add_ExternalPackage for the projects that we need to build.
* Incorporate the uriparser2 wrapper into libhdfspp, but use uriparser package. 
Most of the linux variants have uriparser.
* Add a cpack definition for libhdfspp so that you can generate a binary 
artifact in the standalone build.
* Support newer versions of asio. (The deadline_timer needs to be replaced with 
the steady_timer.)

These will remove about 150kloc from Hadoop. :)

> hdfs++ doesn't add necessary libraries to dynamic library link
> --------------------------------------------------------------
>
>                 Key: HDFS-14244
>                 URL: https://issues.apache.org/jira/browse/HDFS-14244
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs++, hdfs-client
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>            Priority: Major
>
> When linking with shared libraries, the libhdfs++ cmake file doesn't link 
> correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to