Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3304

fix fuse_dfs build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.0.0-alpha
    • None
    • None
    • None

    Description

      The fuse_dfs build is broken in several ways. If you run:

      mvn compile -DskipTests -Pnative
      mvn compile -DskipTests -Pfuse
      

      You get the following error message:

      [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
      

      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?

      Attachments

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: