You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/12/04 22:29:11 UTC

[jira] [Commented] (HDFS-9465) No header files in mvn package

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

Allen Wittenauer commented on HDFS-9465:
----------------------------------------

IIRC, I built on OS X after hacking the hell out of the CMakeFiles to point to a working OpenSSL install (HDFS-9416).

bq. Where are header files expected to be present when the maven build is complete? 

I think they need to end up in target/usr/local/include, but I'd need to double check.

bq. Should these make it into the tarball when running mvn install ... -Dtar -Pdist? 

Yes. That's exactly why this is a blocker. :)  The distro already has an include/ dir so just need for the appropriate content to show up there.

bq. I assumed leaving the headers in hadoop-hdfs-native-client/src/main/native/libhdfspp/include/libhdfspp/* and the header hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h would be sufficient.

It needs to be whatever header files are necessary for a user to actually use the library.

> No header files in mvn package
> ------------------------------
>
>                 Key: HDFS-9465
>                 URL: https://issues.apache.org/jira/browse/HDFS-9465
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Allen Wittenauer
>            Priority: Blocker
>
> The current build appears to only include the shared library and no header files to actually use the library in the final maven binary build.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)