|
tatebet@...
2010-01-04, 09:09
Eli Collins
2010-02-19, 19:53
Eli Collins
2010-01-05, 08:58
tatebet@...
2010-01-05, 09:57
Eli Collins
2010-01-10, 09:03
tatebet@...
2010-01-12, 01:43
Eli Collins
2010-01-12, 20:19
tatebet@...
2010-01-13, 02:19
Eli Collins
2010-01-13, 06:59
tatebet@...
2010-01-14, 05:41
Eli Collins
2010-01-14, 05:46
tatebet@...
2010-01-14, 06:04
tatebet@...
2010-01-15, 10:04
Eli Collins
2010-01-16, 06:54
tatebet@...
2010-01-18, 03:56
Eli Collins
2010-01-18, 05:17
tatebet@...
2010-01-18, 06:48
Seraph Imalia
2010-05-05, 12:37
|
-
fuse-dfstatebet@... 2010-01-04, 09:09
Hi,
I get the following error when trying to mount the fuse dfs. [fuse-dfs]$ ./fuse_dfs_wrapper.sh -d dfs://drbd-test-vm03:8020 /mnt/hdfs/ port=8020,server=drbd-test-vm03 fuse-dfs didn't recognize /mnt/hdfs,-2 [fuse-dfs]$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 9047928 5934252 2650076 70% / /dev/xvda1 101086 13230 82637 14% /boot tmpfs 1048576 0 1048576 0% /dev/shm fuse 9043968 0 9043968 0% /mnt/hdfs [fuse-dfs]$ ls -ltr /mnt/hdfs/ total 0 ?--------- ? ? ? ? ? t.class [fuse-dfs]$ ls -ltr /mnt/hdfs/ ls: reading directory /mnt/hdfs/: Input/output error total 0 We use Red hat Enterprise linux 5 update 2, kernel-xen-2.6.18-92.1.17.0.2.el5,kernel-headers-2.6.18-92.1.17.0.2.el5, kernel-xen-devel-2.6.18-92.1.17.0.2.el5, hadoop-0.20.0,and fuse-2.7.4. I am not sure what is the reason for this error. What should I do to avoid this? Does anyone know what I am doing wrong or what could be causing these errors? Best regards, Tadashi +
tatebet@... 2010-01-04, 09:09
-
Re: fuse-dfsEli Collins 2010-02-19, 19:53
For those following along, this issue turned out to be HDFS-961. I
uploaded a patch to the jira. https://issues.apache.org/jira/browse/HDFS-961 Thanks, Eli 2010/1/4 <[EMAIL PROTECTED]>: > Hi, > > I get the following error when trying to mount the fuse dfs. > > [fuse-dfs]$ ./fuse_dfs_wrapper.sh -d dfs://drbd-test-vm03:8020 /mnt/hdfs/ > port=8020,server=drbd-test-vm03 > fuse-dfs didn't recognize /mnt/hdfs,-2 > [fuse-dfs]$ df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 9047928 5934252 2650076 70% / > /dev/xvda1 101086 13230 82637 14% /boot > tmpfs 1048576 0 1048576 0% /dev/shm > fuse 9043968 0 9043968 0% /mnt/hdfs > [fuse-dfs]$ ls -ltr /mnt/hdfs/ > total 0 > ?--------- ? ? ? ? ? t.class > [fuse-dfs]$ ls -ltr /mnt/hdfs/ > ls: reading directory /mnt/hdfs/: Input/output error total 0 > > We use Red hat Enterprise linux 5 update 2, kernel-xen-2.6.18-92.1.17.0.2.el5,kernel-headers-2.6.18-92.1.17.0.2.el5, > kernel-xen-devel-2.6.18-92.1.17.0.2.el5, > hadoop-0.20.0,and fuse-2.7.4. > > I am not sure what is the reason for this error. > What should I do to avoid this? > Does anyone know what I am doing wrong or what could be causing these errors? > > Best regards, > Tadashi > +
Eli Collins 2010-02-19, 19:53
-
Re: fuse-dfsEli Collins 2010-01-05, 08:58
Hey Tadashi,
What version of hadoop are you using? What is the debug output if you just execute the following in one term and the ls in the other? ./fuse_dfs_wrapper.sh dfs://drbd-test-vm03:8020 /mnt/hdfs -d Thanks, Eli 2010/1/4 <[EMAIL PROTECTED]>: > Hi, > > I get the following error when trying to mount the fuse dfs. > > [fuse-dfs]$ ./fuse_dfs_wrapper.sh -d dfs://drbd-test-vm03:8020 /mnt/hdfs/ > port=8020,server=drbd-test-vm03 > fuse-dfs didn't recognize /mnt/hdfs,-2 > [fuse-dfs]$ df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 9047928 5934252 2650076 70% / > /dev/xvda1 101086 13230 82637 14% /boot > tmpfs 1048576 0 1048576 0% /dev/shm > fuse 9043968 0 9043968 0% /mnt/hdfs > [fuse-dfs]$ ls -ltr /mnt/hdfs/ > total 0 > ?--------- ? ? ? ? ? t.class > [fuse-dfs]$ ls -ltr /mnt/hdfs/ > ls: reading directory /mnt/hdfs/: Input/output error total 0 > > We use Red hat Enterprise linux 5 update 2, kernel-xen-2.6.18-92.1.17.0.2.el5,kernel-headers-2.6.18-92.1.17.0.2.el5, > kernel-xen-devel-2.6.18-92.1.17.0.2.el5, > hadoop-0.20.0,and fuse-2.7.4. > > I am not sure what is the reason for this error. > What should I do to avoid this? > Does anyone know what I am doing wrong or what could be causing these errors? > > Best regards, > Tadashi > +
Eli Collins 2010-01-05, 08:58
-
RE: fuse-dfstatebet@... 2010-01-05, 09:57
Hi Eli,
Thank you for your reply. The version of HADOOP that I am using is HADOOP-0.20.0. I executed the following command with term A: ./fuse_dfs_wrapper.sh dfs://drbd-test-vm03:8020 /mnt/hdfs -d ■term A [root@host03 fuse-dfs]# ./fuse_dfs_wrapper.sh dfs://drbd-test-vm03:8020 /mnt/hdfs -d port=8020,server=drbd-test-vm03 fuse-dfs didn't recognize /mnt/hdfs,-2 fuse-dfs ignoring option -d unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.8 flags=0x00000003 max_readahead=0x00020000 INIT: 7.8 flags=0x00000001 max_readahead=0x00020000 max_write=0x00020000 unique: 1, error: 0 (Success), outsize: 40 unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 2, error: 0 (Success), outsize: 112 unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 3, error: 0 (Success), outsize: 112 unique: 4, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 4, error: 0 (Success), outsize: 112 unique: 5, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 5, error: 0 (Success), outsize: 112 unique: 6, opcode: OPENDIR (27), nodeid: 1, insize: 48 unique: 6, error: 0 (Success), outsize: 32 unique: 7, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 7, error: 0 (Success), outsize: 112 unique: 8, opcode: READDIR (28), nodeid: 1, insize: 64 unique: 8, error: 0 (Success), outsize: 120 unique: 9, opcode: RELEASEDIR (29), nodeid: 1, insize: 64 unique: 9, error: 0 (Success), outsize: 16 unique: 10, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 10, error: 0 (Success), outsize: 112 unique: 11, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 11, error: 0 (Success), outsize: 112 unique: 12, opcode: OPENDIR (27), nodeid: 1, insize: 48 unique: 12, error: 0 (Success), outsize: 32 unique: 13, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 13, error: 0 (Success), outsize: 112 unique: 14, opcode: READDIR (28), nodeid: 1, insize: 64 unique: 14, error: 0 (Success), outsize: 104 unique: 15, opcode: RELEASEDIR (29), nodeid: 1, insize: 64 unique: 15, error: 0 (Success), outsize: 16 ■term B [root@host03 fuse-dfs]# ls /mnt/hdfs/ ls: reading directory /mnt/hdfs/: Input/output error When I executed the ls command with term B, the following result was displayed with term A. unique: 10, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 10, error: 0 (Success), outsize: 112 unique: 11, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 11, error: 0 (Success), outsize: 112 unique: 12, opcode: OPENDIR (27), nodeid: 1, insize: 48 unique: 12, error: 0 (Success), outsize: 32 unique: 13, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 13, error: 0 (Success), outsize: 112 unique: 14, opcode: READDIR (28), nodeid: 1, insize: 64 unique: 14, error: 0 (Success), outsize: 104 unique: 15, opcode: RELEASEDIR (29), nodeid: 1, insize: 64 unique: 15, error: 0 (Success), outsize: 16 I didn't understand the cause because the error didn't occur even if it started by debug mode. Are there anything else I should check? Best regards, Tadashi > -----Original Message----- > From: Eli Collins [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 05, 2010 5:58 PM > To: [EMAIL PROTECTED] > Subject: Re: fuse-dfs > > Hey Tadashi, > > What version of hadoop are you using? What is the debug output if you > just execute the following in one term and the ls in the other? > > ./fuse_dfs_wrapper.sh dfs://drbd-test-vm03:8020 /mnt/hdfs -d > > Thanks, > Eli > > 2010/1/4 <[EMAIL PROTECTED]>: > > Hi, > > > > I get the following error when trying to mount the fuse dfs. > > > > [fuse-dfs]$ ./fuse_dfs_wrapper.sh -d dfs://drbd-test-vm03:8020 /mnt/hdfs/ > > port=8020,server=drbd-test-vm03 > > fuse-dfs didn't recognize /mnt/hdfs,-2 > > [fuse-dfs]$ df > > Filesystem 1K-blocks Used Available Use% Mounted on > > /dev/mapper/VolGroup00-LogVol00 > > 9047928 5934252 2650076 70% / > > /dev/xvda1 101086 13230 82637 14% /boot > > tmpfs 1048576 0 1048576 0% /dev/shm +
tatebet@... 2010-01-05, 09:57
-
Re: fuse-dfsEli Collins 2010-01-10, 09:03
> I executed the following command with term A:
> ./fuse_dfs_wrapper.sh dfs://drbd-test-vm03:8020 /mnt/hdfs -d Is this the same exact hostname (drbd-test-vm03:8020) you use for fs.default.name in hadoop-site.xml/core-site.xml? They need to match up. Thanks, Eli +
Eli Collins 2010-01-10, 09:03
-
RE: fuse-dfstatebet@... 2010-01-12, 01:43
Hi Eli,
Thank you for your reply, > Is this the same exact hostname (drbd-test-vm03:8020) you use for > fs.default.name in hadoop-site.xml/core-site.xml? They need to match > up. I use the same exact hostname(drbd-test-vm03). Core-site.xml <property> <name>fs.default.name</name> <value>hdfs://drbd-test-vm03/</value> </property> Are there anything else I should check? Best regards, Tadashi > -----Original Message----- > From: Eli Collins [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 10, 2010 6:03 PM > To: [EMAIL PROTECTED] > Subject: Re: fuse-dfs > > > I executed the following command with term A: > > ./fuse_dfs_wrapper.sh dfs://drbd-test-vm03:8020 /mnt/hdfs -d > > Is this the same exact hostname (drbd-test-vm03:8020) you use for > fs.default.name in hadoop-site.xml/core-site.xml? They need to match > up. > > Thanks, > Eli +
tatebet@... 2010-01-12, 01:43
-
Re: fuse-dfsEli Collins 2010-01-12, 20:19
Hey Tadashi,
Think the next step is to uncomment "// #define DOTRACE" in fuse_dfs.h, re-compile and see what output that yields. I'd also be curious if you see the issue using 20.1. Thanks, Eli 2010/1/11 <[EMAIL PROTECTED]>: > Hi Eli, > > Thank you for your reply, > >> Is this the same exact hostname (drbd-test-vm03:8020) you use for >> fs.default.name in hadoop-site.xml/core-site.xml? They need to match >> up. > > I use the same exact hostname(drbd-test-vm03). > > Core-site.xml > <property> > <name>fs.default.name</name> > <value>hdfs://drbd-test-vm03/</value> > </property> > > Are there anything else I should check? > > Best regards, > Tadashi >> -----Original Message----- >> From: Eli Collins [mailto:[EMAIL PROTECTED]] >> Sent: Sunday, January 10, 2010 6:03 PM >> To: [EMAIL PROTECTED] >> Subject: Re: fuse-dfs >> >> > I executed the following command with term A: >> > ./fuse_dfs_wrapper.sh dfs://drbd-test-vm03:8020 /mnt/hdfs -d >> >> Is this the same exact hostname (drbd-test-vm03:8020) you use for >> fs.default.name in hadoop-site.xml/core-site.xml? They need to match >> up. >> >> Thanks, >> Eli > +
Eli Collins 2010-01-12, 20:19
-
RE: fuse-dfstatebet@... 2010-01-13, 02:19
Hi Eli,
Thank you for your reply and advise. I uncommented "// #define DOTRACE" in fuse_dfs.h. $ cd $HADOOP_HOME/src/contrib/fuse-dfs/src $ vi fuse_dfs.h ・ ・ 53 //#define DOTRACE ⇒ #define DOTRACE 54 #ifdef DOTRACE ・ ・ Then, I re-compiled that. $ cd $HADOOP_HOME $ ant compile-c++-libhdfs -Dlibhdfs=1 -Dcompile.c++=1 $ ln -s c++/Linux-amd64-64/lib/ build/libhdfs $ ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1 However, it became a same result. I'm using HADOOP-0.20.1. ■Term A $ ./fuse_dfs_wrapper.sh dfs://drbd-test-vm03:8020 /mnt/hdfs/ -d port=8020,server=drbd-test-vm03 fuse-dfs didn't recognize /mnt/hdfs/,-2 fuse-dfs ignoring option -d unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.8 flags=0x00000003 max_readahead=0x00020000 INIT: 7.8 flags=0x00000001 max_readahead=0x00020000 max_write=0x00020000 unique: 1, error: 0 (Success), outsize: 40 ・ ・ ・ ■Term B $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 9047928 6148328 2436000 72% / /dev/xvda1 101086 13230 82637 14% /boot tmpfs 1048576 0 1048576 0% /dev/shm /dev/drbd0 4925336 141244 4533892 4% /drbd $ ls -ltr /mnt/hdfs ls: reading directory /mnt/hdfs: Input/output error total 0 I executed "ls -ltr /mnt/hdfs" several times until a different result came out. $ ls -ltr /mnt/hdfs total 0 ?--------- ? ? ? ? ? l ■Results When I executed "df" in Term B, It became the following result in Term A: unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40 fuse_dfs TRACE - statfs / unique: 2, error: 0 (Success), outsize: 96 When I executed "ls -ltr /mnt/hdfs" in Term B, It became the following result in Term A: unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 40 fuse_dfs TRACE - getattr / unique: 3, error: 0 (Success), outsize: 112 unique: 4, opcode: GETXATTR (22), nodeid: 1, insize: 72 unique: 4, error: -38 (Function not implemented), outsize: 16 unique: 5, opcode: GETATTR (3), nodeid: 1, insize: 40 fuse_dfs TRACE - getattr / unique: 5, error: 0 (Success), outsize: 112 unique: 6, opcode: OPENDIR (27), nodeid: 1, insize: 48 unique: 6, error: 0 (Success), outsize: 32 unique: 7, opcode: GETATTR (3), nodeid: 1, insize: 40 fuse_dfs TRACE - getattr / unique: 7, error: 0 (Success), outsize: 112 unique: 8, opcode: READDIR (28), nodeid: 1, insize: 64 fuse_dfs TRACE - readdir / unique: 8, error: 0 (Success), outsize: 104 unique: 9, opcode: RELEASEDIR (29), nodeid: 1, insize: 64 unique: 9, error: 0 (Success), outsize: 16 When I executed "ls -ltr /mnt/hdfs" several times in Term B, It became the following different result in Term A: unique: 44, opcode: GETATTR (3), nodeid: 1, insize: 40 fuse_dfs TRACE - getattr / unique: 44, error: 0 (Success), outsize: 112 unique: 45, opcode: GETATTR (3), nodeid: 1, insize: 40 fuse_dfs TRACE - getattr / unique: 45, error: 0 (Success), outsize: 112 unique: 46, opcode: OPENDIR (27), nodeid: 1, insize: 48 unique: 46, error: 0 (Success), outsize: 32 unique: 47, opcode: GETATTR (3), nodeid: 1, insize: 40 fuse_dfs TRACE - getattr / unique: 47, error: 0 (Success), outsize: 112 unique: 48, opcode: READDIR (28), nodeid: 1, insize: 64 fuse_dfs TRACE - readdir / unique: 48, error: 0 (Success), outsize: 112 unique: 49, opcode: LOOKUP (1), nodeid: 1, insize: 42 LOOKUP /l fuse_dfs TRACE - getattr /l unique: 49, error: -2 (No such file or directory), outsize: 16 unique: 50, opcode: READDIR (28), nodeid: 1, insize: 64 unique: 50, error: 0 (Success), outsize: 16 unique: 51, opcode: RELEASEDIR (29), nodeid: 1, insize: 64 unique: 51, error: 0 (Success), outsize: 16 Are there anything else I can do? Best Regards, Tadashi. > -----Original Message----- > From: Eli Collins [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 13, 2010 5:20 AM > To: [EMAIL PROTECTED] > Subject: Re: fuse-dfs +
tatebet@... 2010-01-13, 02:19
-
Re: fuse-dfsEli Collins 2010-01-13, 06:59
Thanks for running w/ tracing enabled.
> fuse_dfs TRACE - readdir / > unique: 48, error: 0 (Success), outsize: 112 > unique: 49, opcode: LOOKUP (1), nodeid: 1, insize: 42 > LOOKUP /l > fuse_dfs TRACE - getattr /l > unique: 49, error: -2 (No such file or directory), outsize: 16 Looks like there's a bug parsing the name. To confirm, what are the contents of your directory in hdfs? Is there a /I? IIRC there was a similar bug fixed in 20.1, could you try that or cdh2? Thanks, Eli +
Eli Collins 2010-01-13, 06:59
-
RE: fuse-dfstatebet@... 2010-01-14, 05:41
Hi Eli,
Thank you for your reply. > Looks like there's a bug parsing the name. To confirm, what are the > contents of your directory in hdfs? Is there a /I? NO , there isn't. $ ./bin/hadoop dfs -lsr / drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop/current drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop/current/tmp drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop/current/tmp/mapred drwx-wx-wx - root supergroup 0 2010-01-14 00:11 /opt/hadoop/current/tmp/mapred/system -rw------- 2 root supergroup 4 2010-01-14 00:11 /opt/hadoop/current/tmp/mapred/system/jobtracker.info drwxr-xr-x - root supergroup 0 2010-01-14 00:36 /user drwxr-xr-x - root supergroup 0 2010-01-14 00:41 /user/root > IIRC there was asimilar bug fixed in 20.1, could you try that or cdh2? I am using hadoop-0.20.1+152 that I downloaded from the following site. http://archive.cloudera.com/redhat/cdh/testing/SRPMS/ hadoop-0.20-0.20.1+152-1.src.rpm However, the same error still occurs. Best Regards, Tadashi. > -----Original Message----- > From: Eli Collins [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 13, 2010 4:00 PM > To: [EMAIL PROTECTED] > Subject: Re: fuse-dfs > > Thanks for running w/ tracing enabled. > > > fuse_dfs TRACE - readdir / > > unique: 48, error: 0 (Success), outsize: 112 > > unique: 49, opcode: LOOKUP (1), nodeid: 1, insize: 42 > > LOOKUP /l > > fuse_dfs TRACE - getattr /l > > unique: 49, error: -2 (No such file or directory), outsize: 16 > > Looks like there's a bug parsing the name. To confirm, what are the > contents of your directory in hdfs? Is there a /I? IIRC there was a > similar bug fixed in 20.1, could you try that or cdh2? > > Thanks, > Eli +
tatebet@... 2010-01-14, 05:41
-
Re: fuse-dfsEli Collins 2010-01-14, 05:46
Hey Tadashi,
What kernel (distro/update and bitness) are you using? What ant commands did you use to build fuse? fuse-dfs works for me using hadoop-0.20.1+152 on both ubuntu and centos hosts. Thanks, Eli On Wed, Jan 13, 2010 at 9:41 PM, <[EMAIL PROTECTED]> wrote: > Hi Eli, > > Thank you for your reply. > >> Looks like there's a bug parsing the name. To confirm, what are the >> contents of your directory in hdfs? Is there a /I? > NO , there isn't. > $ ./bin/hadoop dfs -lsr / > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop/current > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop/current/tmp > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop/current/tmp/mapred > drwx-wx-wx - root supergroup 0 2010-01-14 00:11 /opt/hadoop/current/tmp/mapred/system > -rw------- 2 root supergroup 4 2010-01-14 00:11 /opt/hadoop/current/tmp/mapred/system/jobtracker.info > drwxr-xr-x - root supergroup 0 2010-01-14 00:36 /user > drwxr-xr-x - root supergroup 0 2010-01-14 00:41 /user/root > >> IIRC there was asimilar bug fixed in 20.1, could you try that or cdh2? > I am using hadoop-0.20.1+152 that I downloaded from the following site. > http://archive.cloudera.com/redhat/cdh/testing/SRPMS/ > hadoop-0.20-0.20.1+152-1.src.rpm > > However, the same error still occurs. > > Best Regards, > Tadashi. >> -----Original Message----- >> From: Eli Collins [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, January 13, 2010 4:00 PM >> To: [EMAIL PROTECTED] >> Subject: Re: fuse-dfs >> >> Thanks for running w/ tracing enabled. >> >> > fuse_dfs TRACE - readdir / >> > unique: 48, error: 0 (Success), outsize: 112 >> > unique: 49, opcode: LOOKUP (1), nodeid: 1, insize: 42 >> > LOOKUP /l >> > fuse_dfs TRACE - getattr /l >> > unique: 49, error: -2 (No such file or directory), outsize: 16 >> >> Looks like there's a bug parsing the name. To confirm, what are the >> contents of your directory in hdfs? Is there a /I? IIRC there was a >> similar bug fixed in 20.1, could you try that or cdh2? >> >> Thanks, >> Eli > +
Eli Collins 2010-01-14, 05:46
-
RE: fuse-dfstatebet@... 2010-01-14, 06:04
Hi Eli,
> What kernel (distro/update and bitness) are you using? $ rpm -qa | grep kernel kernel-headers-2.6.18-92.1.17.0.2.el5 kernel-xen-devel-2.6.18-92.1.17.0.2.el5 kernel-xen-2.6.18-92.1.17.0.2.el5 > What ant commands did you use to build fuse? $ cd $HADOOP_HOME $ ant compile-c++-libhdfs -Dlibhdfs=1 -Dcompile.c++=1 $ ln -s c++/Linux-amd64-64/lib/ build/libhdfs $ ant compile-contrib -Dlibhdfs=1 -Dfusedfs > fuse-dfs works for me using hadoop-0.20.1+152 > on both ubuntu and centos hosts. I am using hadoop-0.20.1+152 on Enterprise Linux. $cat /etc/redhat-release Enterprise Linux Enterprise Linux Server release 5.2 (Carthage) I am using hadoop-0.20.1+152 on VM that is operating on Oracle VM Server2.1.5(Xen Base). Best Regards, Tadashi. > -----Original Message----- > From: Eli Collins [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 14, 2010 2:47 PM > To: [EMAIL PROTECTED] > Subject: Re: fuse-dfs > > Hey Tadashi, > > What kernel (distro/update and bitness) are you using? What ant > commands did you use to build fuse? > > fuse-dfs works for me using hadoop-0.20.1+152 on both ubuntu and centos hosts. > > Thanks, > Eli > > On Wed, Jan 13, 2010 at 9:41 PM, <[EMAIL PROTECTED]> wrote: > > Hi Eli, > > > > Thank you for your reply. > > > >> Looks like there's a bug parsing the name. To confirm, what are the > >> contents of your directory in hdfs? Is there a /I? > > NO , there isn't. > > $ ./bin/hadoop dfs -lsr / > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 > /opt/hadoop/current > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 > /opt/hadoop/current/tmp > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 > /opt/hadoop/current/tmp/mapred > > drwx-wx-wx - root supergroup 0 2010-01-14 00:11 > /opt/hadoop/current/tmp/mapred/system > > -rw------- 2 root supergroup 4 2010-01-14 00:11 > /opt/hadoop/current/tmp/mapred/system/jobtracker.info > > drwxr-xr-x - root supergroup 0 2010-01-14 00:36 /user > > drwxr-xr-x - root supergroup 0 2010-01-14 00:41 /user/root > > > >> IIRC there was asimilar bug fixed in 20.1, could you try that or cdh2? > > I am using hadoop-0.20.1+152 that I downloaded from the following site. > > http://archive.cloudera.com/redhat/cdh/testing/SRPMS/ > > hadoop-0.20-0.20.1+152-1.src.rpm > > > > However, the same error still occurs. > > > > Best Regards, > > Tadashi. > >> -----Original Message----- > >> From: Eli Collins [mailto:[EMAIL PROTECTED]] > >> Sent: Wednesday, January 13, 2010 4:00 PM > >> To: [EMAIL PROTECTED] > >> Subject: Re: fuse-dfs > >> > >> Thanks for running w/ tracing enabled. > >> > >> > fuse_dfs TRACE - readdir / > >> > unique: 48, error: 0 (Success), outsize: 112 > >> > unique: 49, opcode: LOOKUP (1), nodeid: 1, insize: 42 > >> > LOOKUP /l > >> > fuse_dfs TRACE - getattr /l > >> > unique: 49, error: -2 (No such file or directory), outsize: 16 > >> > >> Looks like there's a bug parsing the name. To confirm, what are the > >> contents of your directory in hdfs? Is there a /I? IIRC there was a > >> similar bug fixed in 20.1, could you try that or cdh2? > >> > >> Thanks, > >> Eli > > +
tatebet@... 2010-01-14, 06:04
-
RE: fuse-dfstatebet@... 2010-01-15, 10:04
Hi Eli,
It is further information. When I executed "ls -ltr /mnt/hdfs" several times in Term B, It became the following different result in Term A: unique: 3, opcode: GETXATTR (22), nodeid: 1, insize: 72 unique: 3, error: -38 (Function not implemented), outsize: 16 It would be greatly appreciated if this information is useful for your analysis. Best regards, Tadashi > -----Original Message----- > From: Eli Collins [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 14, 2010 2:47 PM > To: [EMAIL PROTECTED] > Subject: Re: fuse-dfs > > Hey Tadashi, > > What kernel (distro/update and bitness) are you using? What ant > commands did you use to build fuse? > > fuse-dfs works for me using hadoop-0.20.1+152 on both ubuntu and centos hosts. > > Thanks, > Eli > > On Wed, Jan 13, 2010 at 9:41 PM, <[EMAIL PROTECTED]> wrote: > > Hi Eli, > > > > Thank you for your reply. > > > >> Looks like there's a bug parsing the name. To confirm, what are the > >> contents of your directory in hdfs? Is there a /I? > > NO , there isn't. > > $ ./bin/hadoop dfs -lsr / > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 > /opt/hadoop/current > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 > /opt/hadoop/current/tmp > > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 > /opt/hadoop/current/tmp/mapred > > drwx-wx-wx - root supergroup 0 2010-01-14 00:11 > /opt/hadoop/current/tmp/mapred/system > > -rw------- 2 root supergroup 4 2010-01-14 00:11 > /opt/hadoop/current/tmp/mapred/system/jobtracker.info > > drwxr-xr-x - root supergroup 0 2010-01-14 00:36 /user > > drwxr-xr-x - root supergroup 0 2010-01-14 00:41 /user/root > > > >> IIRC there was asimilar bug fixed in 20.1, could you try that or cdh2? > > I am using hadoop-0.20.1+152 that I downloaded from the following site. > > http://archive.cloudera.com/redhat/cdh/testing/SRPMS/ > > hadoop-0.20-0.20.1+152-1.src.rpm > > > > However, the same error still occurs. > > > > Best Regards, > > Tadashi. > >> -----Original Message----- > >> From: Eli Collins [mailto:[EMAIL PROTECTED]] > >> Sent: Wednesday, January 13, 2010 4:00 PM > >> To: [EMAIL PROTECTED] > >> Subject: Re: fuse-dfs > >> > >> Thanks for running w/ tracing enabled. > >> > >> > fuse_dfs TRACE - readdir / > >> > unique: 48, error: 0 (Success), outsize: 112 > >> > unique: 49, opcode: LOOKUP (1), nodeid: 1, insize: 42 > >> > LOOKUP /l > >> > fuse_dfs TRACE - getattr /l > >> > unique: 49, error: -2 (No such file or directory), outsize: 16 > >> > >> Looks like there's a bug parsing the name. To confirm, what are the > >> contents of your directory in hdfs? Is there a /I? IIRC there was a > >> similar bug fixed in 20.1, could you try that or cdh2? > >> > >> Thanks, > >> Eli > > +
tatebet@... 2010-01-15, 10:04
-
Re: fuse-dfsEli Collins 2010-01-16, 06:54
Hey Tadashi,
That's a separate issue (fuse-dfs doesn't implement getxattr but ls should fall back on using getattr which it does support). Thanks, Eli On Fri, Jan 15, 2010 at 2:04 AM, <[EMAIL PROTECTED]> wrote: > Hi Eli, > > It is further information. > > When I executed "ls -ltr /mnt/hdfs" several times in Term B, > > It became the following different result in Term A: > > unique: 3, opcode: GETXATTR (22), nodeid: 1, insize: 72 > unique: 3, error: -38 (Function not implemented), outsize: 16 > > It would be greatly appreciated if this information is useful for your analysis. > > Best regards, > Tadashi > >> -----Original Message----- >> From: Eli Collins [mailto:[EMAIL PROTECTED]] >> Sent: Thursday, January 14, 2010 2:47 PM >> To: [EMAIL PROTECTED] >> Subject: Re: fuse-dfs >> >> Hey Tadashi, >> >> What kernel (distro/update and bitness) are you using? What ant >> commands did you use to build fuse? >> >> fuse-dfs works for me using hadoop-0.20.1+152 on both ubuntu and centos hosts. >> >> Thanks, >> Eli >> >> On Wed, Jan 13, 2010 at 9:41 PM, <[EMAIL PROTECTED]> wrote: >> > Hi Eli, >> > >> > Thank you for your reply. >> > >> >> Looks like there's a bug parsing the name. To confirm, what are the >> >> contents of your directory in hdfs? Is there a /I? >> > NO , there isn't. >> > $ ./bin/hadoop dfs -lsr / >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 >> /opt/hadoop/current >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 >> /opt/hadoop/current/tmp >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 >> /opt/hadoop/current/tmp/mapred >> > drwx-wx-wx - root supergroup 0 2010-01-14 00:11 >> /opt/hadoop/current/tmp/mapred/system >> > -rw------- 2 root supergroup 4 2010-01-14 00:11 >> /opt/hadoop/current/tmp/mapred/system/jobtracker.info >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:36 /user >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:41 /user/root >> > >> >> IIRC there was asimilar bug fixed in 20.1, could you try that or cdh2? >> > I am using hadoop-0.20.1+152 that I downloaded from the following site. >> > http://archive.cloudera.com/redhat/cdh/testing/SRPMS/ >> > hadoop-0.20-0.20.1+152-1.src.rpm >> > >> > However, the same error still occurs. >> > >> > Best Regards, >> > Tadashi. >> >> -----Original Message----- >> >> From: Eli Collins [mailto:[EMAIL PROTECTED]] >> >> Sent: Wednesday, January 13, 2010 4:00 PM >> >> To: [EMAIL PROTECTED] >> >> Subject: Re: fuse-dfs >> >> >> >> Thanks for running w/ tracing enabled. >> >> >> >> > fuse_dfs TRACE - readdir / >> >> > unique: 48, error: 0 (Success), outsize: 112 >> >> > unique: 49, opcode: LOOKUP (1), nodeid: 1, insize: 42 >> >> > LOOKUP /l >> >> > fuse_dfs TRACE - getattr /l >> >> > unique: 49, error: -2 (No such file or directory), outsize: 16 >> >> >> >> Looks like there's a bug parsing the name. To confirm, what are the >> >> contents of your directory in hdfs? Is there a /I? IIRC there was a >> >> similar bug fixed in 20.1, could you try that or cdh2? >> >> >> >> Thanks, >> >> Eli >> > > +
Eli Collins 2010-01-16, 06:54
-
RE: fuse-dfstatebet@... 2010-01-18, 03:56
Hi Eli,
Thank you for your reply. I understood that was a separate issue. Is the thing that fuse-dfs doesn't implement getxattr a problem? Best regards, Tadashi > -----Original Message----- > From: Eli Collins [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 16, 2010 3:55 PM > To: [EMAIL PROTECTED] > Subject: Re: fuse-dfs > > Hey Tadashi, > > That's a separate issue (fuse-dfs doesn't implement getxattr but ls > should fall back on using getattr which it does support). > > Thanks, > Eli > > On Fri, Jan 15, 2010 at 2:04 AM, <[EMAIL PROTECTED]> wrote: > > Hi Eli, > > > > It is further information. > > > > When I executed "ls -ltr /mnt/hdfs" several times in Term B, > > > > It became the following different result in Term A: > > > > unique: 3, opcode: GETXATTR (22), nodeid: 1, insize: 72 > > unique: 3, error: -38 (Function not implemented), outsize: 16 > > > > It would be greatly appreciated if this information is useful for your > analysis. > > > > Best regards, > > Tadashi > > > >> -----Original Message----- > >> From: Eli Collins [mailto:[EMAIL PROTECTED]] > >> Sent: Thursday, January 14, 2010 2:47 PM > >> To: [EMAIL PROTECTED] > >> Subject: Re: fuse-dfs > >> > >> Hey Tadashi, > >> > >> What kernel (distro/update and bitness) are you using? What ant > >> commands did you use to build fuse? > >> > >> fuse-dfs works for me using hadoop-0.20.1+152 on both ubuntu and centos > hosts. > >> > >> Thanks, > >> Eli > >> > >> On Wed, Jan 13, 2010 at 9:41 PM, <[EMAIL PROTECTED]> wrote: > >> > Hi Eli, > >> > > >> > Thank you for your reply. > >> > > >> >> Looks like there's a bug parsing the name. To confirm, what are the > >> >> contents of your directory in hdfs? Is there a /I? > >> > NO , there isn't. > >> > $ ./bin/hadoop dfs -lsr / > >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt > >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 /opt/hadoop > >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 > >> /opt/hadoop/current > >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 > >> /opt/hadoop/current/tmp > >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:11 > >> /opt/hadoop/current/tmp/mapred > >> > drwx-wx-wx - root supergroup 0 2010-01-14 00:11 > >> /opt/hadoop/current/tmp/mapred/system > >> > -rw------- 2 root supergroup 4 2010-01-14 00:11 > >> /opt/hadoop/current/tmp/mapred/system/jobtracker.info > >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:36 /user > >> > drwxr-xr-x - root supergroup 0 2010-01-14 00:41 /user/root > >> > > >> >> IIRC there was asimilar bug fixed in 20.1, could you try that or cdh2? > >> > I am using hadoop-0.20.1+152 that I downloaded from the following site. > >> > http://archive.cloudera.com/redhat/cdh/testing/SRPMS/ > >> > hadoop-0.20-0.20.1+152-1.src.rpm > >> > > >> > However, the same error still occurs. > >> > > >> > Best Regards, > >> > Tadashi. > >> >> -----Original Message----- > >> >> From: Eli Collins [mailto:[EMAIL PROTECTED]] > >> >> Sent: Wednesday, January 13, 2010 4:00 PM > >> >> To: [EMAIL PROTECTED] > >> >> Subject: Re: fuse-dfs > >> >> > >> >> Thanks for running w/ tracing enabled. > >> >> > >> >> > fuse_dfs TRACE - readdir / > >> >> > unique: 48, error: 0 (Success), outsize: 112 > >> >> > unique: 49, opcode: LOOKUP (1), nodeid: 1, insize: 42 > >> >> > LOOKUP /l > >> >> > fuse_dfs TRACE - getattr /l > >> >> > unique: 49, error: -2 (No such file or directory), outsize: 16 > >> >> > >> >> Looks like there's a bug parsing the name. To confirm, what are the > >> >> contents of your directory in hdfs? Is there a /I? IIRC there was a > >> >> similar bug fixed in 20.1, could you try that or cdh2? > >> >> > >> >> Thanks, > >> >> Eli > >> > > > +
tatebet@... 2010-01-18, 03:56
-
Re: fuse-dfsEli Collins 2010-01-18, 05:17
> Is the thing that fuse-dfs doesn't implement getxattr a problem?
Not really. Extended attributes aren't used widely in userspace programs. Most programs that can use them often support them not being available as not all file systems have extended attributes. There may be a use for them in fuse-dfs in the future but currently it's not an issue that they're not supported. Thanks, Eli +
Eli Collins 2010-01-18, 05:17
-
RE: fuse-dfstatebet@... 2010-01-18, 06:48
Hi Eli,
Thank you for your reply. Hearing your explanation,I understood that currently it was not an issue. Best regards, Tadashi > -----Original Message----- > From: Eli Collins [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 18, 2010 2:17 PM > To: [EMAIL PROTECTED] > Subject: Re: fuse-dfs > > > Is the thing that fuse-dfs doesn't implement getxattr a problem? > > Not really. Extended attributes aren't used widely in userspace > programs. Most programs that can use them often support them not being > available as not all file systems have extended attributes. There may > be a use for them in fuse-dfs in the future but currently it's not an > issue that they're not supported. > > Thanks, > Eli +
tatebet@... 2010-01-18, 06:48
-
Fuse-DFSSeraph Imalia 2010-05-05, 12:37
Hi,
I have been following the following URL to mount an HDFS using fuse- dfs: http://wiki.apache.org/hadoop/MountableHDFS I have had many problems trying to build it but have managed to get through the first two build commands without build errors. Running the last build command "ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1" results in the following error: compile: [echo] contrib: fuse-dfs [exec] /opt/hadoop-0.20.1/src/contrib/fuse-dfs/bootstrap.sh: 18: aclocal: not found [exec] /opt/hadoop-0.20.1/src/contrib/fuse-dfs/bootstrap.sh: 19: automake: not found [exec] /opt/hadoop-0.20.1/src/contrib/fuse-dfs/bootstrap.sh: 20: autoconf: not found [exec] /opt/hadoop-0.20.1/src/contrib/fuse-dfs/bootstrap.sh: 21: ./configure: not found BUILD FAILED /opt/hadoop-0.20.1/build.xml:497: The following error occurred while executing this line: /opt/hadoop-0.20.1/src/contrib/build.xml:30: The following error occurred while executing this line: /opt/hadoop-0.20.1/src/contrib/fuse-dfs/build.xml:54: exec returned: 127 I found this link on google: http://issues.apache.org/jira/browse/HADOOP-4 which does not seem to help me. Please can you assist? Regards, Seraph +
Seraph Imalia 2010-05-05, 12:37
|