hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Bockelman <bbock...@cse.unl.edu>
Subject Re: fuse-dfs:fuse-dfs didn't recognize /dfs,-2
Date Fri, 09 Oct 2009 12:54:33 GMT

On Oct 9, 2009, at 1:35 AM, yibo820217 wrote:

>
> Hi,
>
> I get the following error when trying to mount the fuse dfs,
>
> the first problem is:
> [root@puppet ~]# fuse_dfs_wrapper.sh dfs://100.207.100.25:9000/ /dfs
> port=9000,server=100.207.100.25
> fuse-dfs didn't recognize /dfs,-2
>

For some reason, this always happens.  It's not an error, it's some  
sort of warning.

> the second problem is:
> then i cd /dfs,
> [root@puppet dfs]# ls -l
> total 0
> ?--------- ? ? ? ?            ? n:9000/1
> ?--------- ? ? ? ?            ? n:9000/tmp
> ?--------- ? ? ? ?            ? n:9000/user
>

Try this; it's confused about the prefix you've given it (it's a bit  
picky about this)

fuse_dfs -oserver=100.207.100.25 -oport=9000 /dfs -oallow_other - 
ordbuffer=131072

By the way - as you explore HDFS, you'll want to switch from IP  
address to hostnames at some point.

Brian

> when use -d option,like
> [root@puppet ~]# fuse_dfs_wrapper.sh dfs://100.207.100.25:9000/ /dfs  
> -d
> port=9000,server=10.207.0.25
> fuse-dfs didn't recognize /dfs,-2
> fuse-dfs ignoring option -d
> FUSE library version: 2.8.1
> nullpath_ok: 0
> unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
> INIT: 7.10
> flags=0x0000003b
> max_readahead=0x00020000
>   INIT: 7.12
>   flags=0x00000011
>   max_readahead=0x00020000
>   max_write=0x00020000
>   unique: 1, success, outsize: 40
> ....
> unique: 70, opcode: GETATTR (3), nodeid: 1, insize: 56
> getattr /
>   unique: 70, success, outsize: 120
> unique: 71, opcode: OPENDIR (27), nodeid: 1, insize: 48
>   unique: 71, success, outsize: 32
> unique: 72, opcode: READDIR (28), nodeid: 1, insize: 80
> readdir[0] from 0
>   unique: 72, success, outsize: 192
> unique: 73, opcode: GETATTR (3), nodeid: 1, insize: 56
> getattr /
>   unique: 73, success, outsize: 120
> unique: 74, opcode: LOOKUP (1), nodeid: 1, insize: 47
> LOOKUP /n:9000
> getattr /n:9000
> Exception in thread "Thread-3" java.lang.IllegalArgumentException:  
> Pathname
> /n:9000 from /n:9000 is not a valid DFS filename.
>        at
> org.apache.hadoop.hdfs.DistributedFileSystem.getPathName 
> (DistributedFileSystem.java:158)
>        at
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus 
> (DistributedFileSystem.java:453)
>        at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:643)
> Call to org.apache.hadoop.fs.FileSystem::exists failed!
>   unique: 74, error: -2 (No such file or directory), outsize: 16
> unique: 75, opcode: LOOKUP (1), nodeid: 1, insize: 47
> LOOKUP /n:9000
> getattr /n:9000
> Exception in thread "Thread-7" java.lang.IllegalArgumentException:  
> Pathname
> /n:9000 from /n:9000 is not a valid DFS filename.
>        at
> org.apache.hadoop.hdfs.DistributedFileSystem.getPathName 
> (DistributedFileSystem.java:158)
>        at
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus 
> (DistributedFileSystem.java:453)
>        at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:643)
> Call to org.apache.hadoop.fs.FileSystem::exists failed!
>   unique: 75, error: -2 (No such file or directory), outsize: 16
> unique: 76, opcode: LOOKUP (1), nodeid: 1, insize: 47
> LOOKUP /n:9000
> getattr /n:9000
> Exception in thread "main" java.lang.IllegalArgumentException:  
> Pathname
> /n:9000 from /n:9000 is not a valid DFS filename.
>        at
> org.apache.hadoop.hdfs.DistributedFileSystem.getPathName 
> (DistributedFileSystem.java:158)
>        at
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus 
> (DistributedFileSystem.java:453)
>        at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:643)
> Call to org.apache.hadoop.fs.FileSystem::exists failed!
>   unique: 76, error: -2 (No such file or directory), outsize: 16
> unique: 77, opcode: READDIR (28), nodeid: 1, insize: 80
>   unique: 77, success, outsize: 16
> unique: 78, opcode: RELEASEDIR (29), nodeid: 1, insize: 64
>   unique: 78, success, outsize: 16
>
>
> Thanks,
>
> Darren.
>
> -- 
> View this message in context: http://www.nabble.com/fuse-dfs%3Afuse-dfs-didn%27t-recognize--dfs%2C-2-tp25816143p25816143.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.


Mime
View raw message