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

fix fuse_dfs build

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: