[
https://issues.apache.org/jira/browse/HDFS-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257835#comment-13257835
]
Colin Patrick McCabe commented on HDFS-3304:
--------------------------------------------
It looks like the issues is that this directory structure is being created when
building libhdfs.so:
{code}
~/hadoop1/hadoop-common-project/hadoop-common/target/native/target/usr/local/lib64
{code}
whereas we needed this one
{code}
~/hadoop1/hadoop-common-project/hadoop-common/target/native/target/usr/local/lib
{code}
> fix fuse_dfs build
> ------------------
>
> Key: HDFS-3304
> URL: https://issues.apache.org/jira/browse/HDFS-3304
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.23.0
> Reporter: Colin Patrick McCabe
> Priority: Minor
>
> The fuse_dfs build is broken in several ways. If you run:
> {code}
> mvn compile -DskipTests -Pnative
> mvn compile -DskipTests -Pfuse
> {code}
> You get the following error message:
> {code}
> [exec]
> /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
> cannot find -lhdfs
> [exec] collect2: ld returned 1 exit status
> [exec] make[1]: *** [fuse_dfs] Error 1
> [exec] make: *** [all-recursive] Error 1
> {code}
> libhdfs.so was created, but the -Pfuse build doesn't know where it is and
> can't link against it.
> Also, should ''mvn install -Pfuse'' be copying fuse_dfs somewhere?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira