hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9465) No header files in mvn package
Date Mon, 07 Dec 2015 20:44:11 GMT

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

James Clampffer commented on HDFS-9465:
---------------------------------------

Thanks for the help [~aw]!


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

-Sorry about the OS X issues.  I don't think anyone spending a significant amount of time
on this at the moment is using OS X so I can't say I'm shocked that it's breaking.  I'll need
to borrow someone's mac at some point and attempt to sort that stuff out.  If you happen to
have a snapshot of what you changed, even if it's a complete hack, please post it.  Myself,
or (hopefully) someone who knows how to use a mac can use that as a starting point.

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

That makes sense, I'm still figuring out the maven packaging and distribution system.  I'm
guessing the easiest thing for me to do would be to look at where the libhdfs headers end
up in a distribution snapshot.

"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."

Makes a lot of sense to me.  Will certainly get that working.  I unassigned myself from this
jira just in case someone wants to jump on while I'm working on memory stomps.  If that doesn't
happen I'll pick this up before attempting to merge to trunk.

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

And today I found out I've been doing this wrong the whole time :).  Last time I used libhdfs
I manually pulled out the headers and stuck them in my project.  I figured there was a sane
way to do it.



> 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)

Mime
View raw message