hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2325) Fuse-DFS fails to build on Hadoop 20.203.0
Date Fri, 23 Sep 2011 20:55:26 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113759#comment-13113759
] 

Kihwal Lee commented on HDFS-2325:
----------------------------------

The localtion of library can be different if the core build used different build directory.
Since fuse-dfs build is kind of disconnected right now, it is hardcoded as "build" and no
attempt is made to obtain it automatically. If a custom directory is used, it can be specified
by "-Dlibhdfs.lib=/path/to/libhdfs.so".

> Fuse-DFS fails to build on Hadoop 20.203.0
> ------------------------------------------
>
>                 Key: HDFS-2325
>                 URL: https://issues.apache.org/jira/browse/HDFS-2325
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: contrib/fuse-dfs, libhdfs
>    Affects Versions: 0.20.203.0, 0.20.205.0
>         Environment: Ubuntu 11.04, Linux 2.6.38-11-generic x86_64
>            Reporter: Charles Earl
>            Assignee: Kihwal Lee
>            Priority: Blocker
>              Labels: hadoop, newbie
>         Attachments: hdfs-2325-branch-0.20-security.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message