Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2434E9A66 for ; Wed, 30 Nov 2011 10:41:53 +0000 (UTC) Received: (qmail 93106 invoked by uid 500); 30 Nov 2011 10:41:52 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 93062 invoked by uid 500); 30 Nov 2011 10:41:52 -0000 Mailing-List: contact hdfs-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-user@hadoop.apache.org Delivered-To: mailing list hdfs-user@hadoop.apache.org Received: (qmail 93054 invoked by uid 99); 30 Nov 2011 10:41:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 10:41:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stutiawasthi@hcl.com designates 203.105.185.23 as permitted sender) Received: from [203.105.185.23] (HELO gws05.hcl.com) (203.105.185.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 10:41:47 +0000 Received: from NDA-HCLIN-HT03.CORP.HCL.IN (10.248.64.34) by NDA-HCLIN-EDGE3.hcl.in (10.248.64.140) with Microsoft SMTP Server id 8.2.254.0; Wed, 30 Nov 2011 16:12:10 +0530 Received: from NDA-HCLC-HT02.HCLC.CORP.HCL.IN (10.33.64.134) by NDA-HCLIN-HT03.CORP.HCL.IN (10.248.64.34) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 30 Nov 2011 16:11:23 +0530 Received: from NDA-HCLC-EVS04.HCLC.CORP.HCL.IN ([10.33.64.194]) by NDA-HCLC-HT02.HCLC.CORP.HCL.IN ([::1]) with mapi; Wed, 30 Nov 2011 16:11:23 +0530 From: Stuti Awasthi To: "hdfs-user@hadoop.apache.org" Date: Wed, 30 Nov 2011 16:11:21 +0530 Subject: RE: Facing issue in building Fuse-DFS Thread-Topic: Facing issue in building Fuse-DFS Thread-Index: AQHMrz2RQkjYTMHcXkafzJkyIxvxcZXFMnfAgAAHidA= Message-ID: <7D9AF4B98807C54EBADEA75DF6D5ACB7E315C8FB@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> References: <7D9AF4B98807C54EBADEA75DF6D5ACB7E31A882D@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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=3DRe+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=3D1 -Dfusedfs=3D1 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=3D\"fuse_dfs\" -DPACKAGE_TARNAME=3D\"fuse_df= s\" -DPACKAGE_VERSION=3D\"0.1.0\" -DPACKAGE_STRING=3D\"fuse_dfs\ 0.1.0\" -D= PACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\" -DSTDC_HEADERS=3D1 -DHAVE_SYS= _TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 = -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDIN= T_H=3D1 -DHAVE_UNISTD_H=3D1 -DGETGROUPS_T=3Dgid_t -DHAVE_GETGROUPS=3D1 -DGE= TGROUPS_T=3Dgid_t -I. -DPERMS=3D1 -D_FILE_OFFSET_BITS=3D64 -I/usr/lib/jvm/= java-6-openjdk//include -I/home/stuti/Installer/hadoop-0.20.2/src/c++/libhd= fs/ -I/usr/lib/jvm/java-6-openjdk//include/linux/ -D_FUSE_DFS_VERSION=3D\"0= .1.0\" -DPROTECTED_PATHS=3D\"\" -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 i= nside 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 i= nside parameter list [exec] fuse_impls.h:41:41: warning: 'struct statvfs' declared inside p= arameter list [exec] fuse_impls.h:49:39: warning: 'struct fuse_file_info' declared i= nside parameter list [exec] fuse_impls.h:51:36: warning: 'struct fuse_file_info' declared i= nside parameter list [exec] fuse_impls.h:52:43: warning: 'struct fuse_file_info' declared i= nside parameter list [exec] fuse_impls.h:54:54: warning: 'struct fuse_file_info' declared i= nside parameter list [exec] fuse_impls.h:55:40: warning: 'struct fuse_file_info' declared i= nside parameter list [exec] fuse_dfs.c: In function 'is_protected': [exec] fuse_dfs.c:27:3: warning: implicit declaration of function 'fus= e_get_context' [exec] fuse_dfs.c:27:54: error: invalid type argument of '->' (have 'i= nt') [exec] fuse_dfs.c: At top level: [exec] fuse_dfs.c:40:15: error: variable 'dfs_oper' has initializer bu= t incomplete type [exec] fuse_dfs.c:41:3: error: unknown field 'getattr' specified in in= itializer [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 ini= tializer [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 in= itializer [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 in= itializer [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 initi= alizer [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 initi= alizer [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 initi= alizer [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 in= itializer [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 ini= tializer [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 init= ializer [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 init= ializer [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 ini= tializer [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 ini= tializer [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 in= itializer [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 ini= tializer [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 init= ializer [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 init= ializer [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 init= ializer [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 in= itializer [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 init= ializer [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 init= ializer [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 i= nitializer [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 'fu= se_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 occu= rred 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 inte= nded for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliate= s. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect t= he 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 immedia= tely. Before opening any mail and attachments please check them for viruses and defect. ---------------------------------------------------------------------------= --------------------------------------------