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 "Colin Patrick McCabe (Created) (JIRA)" <ji...@apache.org> on 2012/04/19 21:08:40 UTC

[jira] [Created] (HDFS-3304) fix fuse_dfs build

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

        

[jira] [Updated] (HDFS-3304) fix fuse_dfs build

Posted by "Eli Collins (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Collins updated HDFS-3304:
------------------------------

     Target Version/s: 2.0.0  (was: 1.0.0)
    Affects Version/s:     (was: 0.23.0)
                       2.0.0

Per HDFS-2696 the following command ({{mvn clean install -DskipTests -Pnative  -DskipTest -Pfuse}}) works for me. Does it work for you? If so looks like the compile target is broken, if not suspect it's a host-specific issue.

We should update BUILDING.txt to this effect.  Also, might be worth going straight to HDFS-3251 rather than fixing this.
                
> fix fuse_dfs build
> ------------------
>
>                 Key: HDFS-3304
>                 URL: https://issues.apache.org/jira/browse/HDFS-3304
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.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

        

[jira] [Commented] (HDFS-3304) fix fuse_dfs build

Posted by "Colin Patrick McCabe (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (HDFS-3304) fix fuse_dfs build

Posted by "Colin Patrick McCabe (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258419#comment-13258419 ] 

Colin Patrick McCabe commented on HDFS-3304:
--------------------------------------------

No, that command doesn't work for me.  The problem seems to be that automake defaults to creating ${TARGET}/usr/local/lib64 for me, and ${TARGET}/usr/local/lib for you.  This should be fixable by passing a --libdir switch with the desired directory to automake.

> might be worth going straight to HDFS-3251 rather than fixing this.

Makes sense to me!
                
> fix fuse_dfs build
> ------------------
>
>                 Key: HDFS-3304
>                 URL: https://issues.apache.org/jira/browse/HDFS-3304
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.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

        

[jira] [Resolved] (HDFS-3304) fix fuse_dfs build

Posted by "Colin Patrick McCabe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe resolved HDFS-3304.
----------------------------------------

    Resolution: Fixed
      Assignee: Colin Patrick McCabe

Fixed by HADOOP-8368
                
> fix fuse_dfs build
> ------------------
>
>                 Key: HDFS-3304
>                 URL: https://issues.apache.org/jira/browse/HDFS-3304
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: 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