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

Fuse-DFS fails to build on Hadoop 20.203.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.20.203.0, 0.20.205.0
    • 0.20.205.0
    • fuse-dfs, libhdfs
    • Ubuntu 11.04, Linux 2.6.38-11-generic x86_64

    Description

      In building fuse-dfs, the compile fails due to an argument mismatch between call to hdfsConnectAsUser on line 40 of src/contrib/fuse-dfs/src/fuse_connect.c and an earlier definition of hdfsConnectAsUser given in src/c++/libhdfs/hdfs.h.
      I suggest changing hdfs.h. I made the following change in hdfs.h in my local copy:

      106c106,107
      < hdfsFS hdfsConnectAsUser(const char* host, tPort port, const char *user);

      > // hdfsFS hdfsConnectAsUser(const char* host, tPort port, const char *user);
      > hdfsFS hdfsConnectAsUser(const char* host, tPort port, const char user, const char* groups, int numgroups);

      This new version successfully compiles.

      Attachments

        Activity

          People

            kihwal Kihwal Lee
            charlescearl Charles Earl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified