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

Konstantin Boudnik commented on HDFS-423:
-----------------------------------------

Ran patched version of HDFS on a Linux machine 
{{Linux everyelectric.corp.yahoo.com 2.6.18-164.2.1.el5PAE #1 SMP Mon Sep 21 
04:45:05 EDT 2009 i686 i686 i386 GNU/Linux}}

Running 
{noformat}
 % ant compile -Dcompile.c++=true -Dlibhdfs=true
 % ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1
{noformat}

have ran into this issue:
{noformat}
     [exec] fuse_dfs.c: In function 'main':
     [exec] fuse_dfs.c:73: error: variable 'args' has initializer but 
incomplete type
     [exec] fuse_dfs.c:73: warning: implicit declaration of function 
'FUSE_ARGS_INIT'
     [exec] fuse_dfs.c:73: error: storage size of 'args' isn't known
     [exec] fuse_dfs.c:83: warning: implicit declaration of function 
'fuse_opt_parse'
     [exec] fuse_dfs.c:90: warning: implicit declaration of function 
'fuse_opt_add_arg'
     [exec] fuse_dfs.c:132: warning: implicit declaration of function 
'fuse_main'
     [exec] fuse_dfs.c:137: warning: implicit declaration of function 
'fuse_opt_free_args'
     [exec] fuse_dfs.c:73: warning: unused variable 'args'
     [exec] make[1]: Leaving directory 
`/homes/cos/work/Hdfs.trunk/src/contrib/fuse-dfs/src'
     [exec] make[1]: *** [fuse_dfs.o] Error 1
     [exec] make: *** [all-recursive] Error 1

BUILD FAILED
/homes/xxx/work/Hdfs.trunk/build.xml:321: The following error occurred while 
executing this line:
/homes/xxx/work/Hdfs.trunk/src/contrib/build.xml:30: The following error 
occurred while executing this line:
/homes/xxx/work/Hdfs.trunk/src/contrib/fuse-dfs/build.xml:57: exec returned: 2
{noformat}

Also, it seems that running 
{{% ant test-contrib -Dcompile.c++=true -Dlibhdfs=true -Dfusedfs=true }}
doesn't detect the problem above. Won't it make sense to have {{test-contrib}} 
to depend on {{compile-contrib}} ?

> libhdfs.so is pushed to a new location , hence fuds-dfs has to updated to 
> point to the new location of libhdfs
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-423
>                 URL: https://issues.apache.org/jira/browse/HDFS-423
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>            Reporter: Giridharan Kesavan
>            Assignee: Eli Collins
>         Attachments: hdfs-423-2.patch, hdfs423.patch, patch-4922.v1.txt
>
>
> fuse-dfs depends on libhdfs, and fuse-dfs build.xml still points to the 
> libhfds/libhdfs.so location but libhdfs now is build in a different location 
> please take a look at this bug for the location details 
> https://issues.apache.org/jira/browse/HADOOP-3344
> Thanks,
> Giri

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to