hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuti Awasthi <stutiawas...@hcl.com>
Subject RE: Facing issue in building Fuse-DFS
Date Wed, 30 Nov 2011 10:41:21 GMT
Hi,
I also tried "hdfs-1757-1.patch" but unsuccessful to apply it correctly.

cd $HADOOP_HOME
patch -p1 < ~/Downloads/ hdfs-1757-1.patch

Got errors :(

-----Original Message-----
From: Stuti Awasthi
Sent: Wednesday, November 30, 2011 3:48 PM
To: hdfs-user@hadoop.apache.org
Subject: RE: Facing issue in building Fuse-DFS

Hi,
After some googling I found this link :
http://search-hadoop.com/m/Ee9Vj1ZNSGR1&subj=Re+Hadoop+Hdfs+trunk+Commit+Build+560+Failure

I tried to apply patch but getting errors in applying the patch.
Here is what I did :

cd $HADOOP_HOME
patch -p1 < ~/Downloads/hdfs-780-4.patch

But got the errors. Please help.

-----Original Message-----
From: Stuti Awasthi
Sent: Wednesday, November 30, 2011 2:19 PM
To: hdfs-user@hadoop.apache.org
Subject: Facing issue in building Fuse-DFS

Hi All,

I am using Hadoop 0.20.2 and tried to build Fuse DFS. After facing lots of issues and resolving
them I am stuck at the following error.
Can please somebody help me in resolving this .

Command : ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1

Error:
[exec] make[1]: Entering directory `/home/stuti/Installer/hadoop-0.20.2/src/contrib/fuse-dfs'
     [exec] make[1]: Nothing to be done for `all-am'.
     [exec] make[1]: Leaving directory `/home/stuti/Installer/hadoop-0.20.2/src/contrib/fuse-dfs'
     [exec] Making all in src
     [exec] make[1]: Entering directory `/home/stuti/Installer/hadoop-0.20.2/src/contrib/fuse-dfs/src'
     [exec] gcc -DPACKAGE_NAME=\"fuse_dfs\" -DPACKAGE_TARNAME=\"fuse_dfs\" -DPACKAGE_VERSION=\"0.1.0\"
-DPACKAGE_STRING=\"fuse_dfs\ 0.1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DGETGROUPS_T=gid_t
-DHAVE_GETGROUPS=1 -DGETGROUPS_T=gid_t -I.  -DPERMS=1 -D_FILE_OFFSET_BITS=64 -I/usr/lib/jvm/java-6-openjdk//include
-I/home/stuti/Installer/hadoop-0.20.2/src/c++/libhdfs/ -I/usr/lib/jvm/java-6-openjdk//include/linux/
-D_FUSE_DFS_VERSION=\"0.1.0\" -DPROTECTED_PATHS=\"\" -I/usr/include/fuse/include   -Wall -O3
-MT fuse_dfs.o -MD -MP -MF .deps/fuse_dfs.Tpo -c -o fuse_dfs.o fuse_dfs.c
     [exec] make[1]: Leaving directory `/home/stuti/Installer/hadoop-0.20.2/src/contrib/fuse-dfs/src'
     [exec] In file included from fuse_dfs.c:21:0:
     [exec] fuse_impls.h:37:46: error: expected declaration specifiers or '...' before 'fuse_fill_dir_t'
     [exec] fuse_impls.h:38:38: warning: 'struct fuse_file_info' declared inside parameter
list
     [exec] fuse_impls.h:38:38: warning: its scope is only this definition or declaration,
which is probably not what you want
     [exec] fuse_impls.h:40:28: warning: 'struct fuse_file_info' declared inside parameter
list
     [exec] fuse_impls.h:41:41: warning: 'struct statvfs' declared inside parameter list
     [exec] fuse_impls.h:49:39: warning: 'struct fuse_file_info' declared inside parameter
list
     [exec] fuse_impls.h:51:36: warning: 'struct fuse_file_info' declared inside parameter
list
     [exec] fuse_impls.h:52:43: warning: 'struct fuse_file_info' declared inside parameter
list
     [exec] fuse_impls.h:54:54: warning: 'struct fuse_file_info' declared inside parameter
list
     [exec] fuse_impls.h:55:40: warning: 'struct fuse_file_info' declared inside parameter
list
     [exec] fuse_dfs.c: In function 'is_protected':
     [exec] fuse_dfs.c:27:3: warning: implicit declaration of function 'fuse_get_context'
     [exec] fuse_dfs.c:27:54: error: invalid type argument of '->' (have 'int')
     [exec] fuse_dfs.c: At top level:
     [exec] fuse_dfs.c:40:15: error: variable 'dfs_oper' has initializer but incomplete type
     [exec] fuse_dfs.c:41:3: error: unknown field 'getattr' specified in initializer
     [exec] fuse_dfs.c:41:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:41:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:42:3: error: unknown field 'access' specified in initializer
     [exec] fuse_dfs.c:42:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:42:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:43:3: error: unknown field 'readdir' specified in initializer
     [exec] fuse_dfs.c:43:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:43:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:44:3: error: unknown field 'destroy' specified in initializer
     [exec] fuse_dfs.c:44:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:44:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:45:3: error: unknown field 'init' specified in initializer
     [exec] fuse_dfs.c:45:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:45:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:46:3: error: unknown field 'open' specified in initializer
     [exec] fuse_dfs.c:46:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:46:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:47:3: error: unknown field 'read' specified in initializer
     [exec] fuse_dfs.c:47:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:47:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:48:3: error: unknown field 'symlink' specified in initializer
     [exec] fuse_dfs.c:48:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:48:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:49:3: error: unknown field 'statfs' specified in initializer
     [exec] fuse_dfs.c:49:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:49:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:50:3: error: unknown field 'mkdir' specified in initializer
     [exec] fuse_dfs.c:50:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:50:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:51:3: error: unknown field 'rmdir' specified in initializer
     [exec] fuse_dfs.c:51:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:51:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:52:3: error: unknown field 'rename' specified in initializer
     [exec] fuse_dfs.c:52:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:52:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:53:3: error: unknown field 'unlink' specified in initializer
     [exec] fuse_dfs.c:53:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:53:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:54:3: error: unknown field 'release' specified in initializer
     [exec] fuse_dfs.c:54:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:54:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:55:3: error: unknown field 'create' specified in initializer
     [exec] fuse_dfs.c:55:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:55:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:56:3: error: unknown field 'write' specified in initializer
     [exec] fuse_dfs.c:56:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:56:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:57:3: error: unknown field 'flush' specified in initializer
     [exec] fuse_dfs.c:57:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:57:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:58:3: error: unknown field 'mknod' specified in initializer
     [exec] fuse_dfs.c:58:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:58:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:59:2: error: unknown field 'utimens' specified in initializer
     [exec] fuse_dfs.c:59:2: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:59:2: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:60:3: error: unknown field 'chmod' specified in initializer
     [exec] fuse_dfs.c:60:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:60:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:61:3: error: unknown field 'chown' specified in initializer
     [exec] fuse_dfs.c:61:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:61:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c:62:3: error: unknown field 'truncate' specified in initializer
     [exec] fuse_dfs.c:62:3: warning: excess elements in struct initializer
     [exec] fuse_dfs.c:62:3: warning: (near initialization for 'dfs_oper')
     [exec] fuse_dfs.c: In function 'main':
     [exec] fuse_dfs.c:132:3: warning: implicit declaration of function 'fuse_main'
     [exec] make[1]: *** [fuse_dfs.o] Error 1
     [exec] make: *** [all-recursive] Error 1

BUILD FAILED
/home/stuti/Installer/hadoop-0.20.2/build.xml:497: The following error occurred while executing
this line:
/home/stuti/Installer/hadoop-0.20.2/src/contrib/build.xml:30: The following error occurred
while executing this line:
/home/stuti/Installer/hadoop-0.20.2/src/contrib/fuse-dfs/build.xml:57: exec returned: 2

-Stuti

::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named
recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or
opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and
/ or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited.
If you have
received this email in error please delete it and notify the sender immediately. Before opening
any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Mime
View raw message