Hi Brian, For 0.18.1, "cp foo bar" where bar does not exist will work. But, if bar exists, it will not.copying over an existing file requires truncate to work and fuse-dfs 0.18.1 does not support it.
Try using the 0.18.2 version where it supports truncate(file, 0). It supports it, but permissions and such will be those of the user doing the cp and not the ones that were already on the file as in POSIX and Hadoop semantics. -- pete On 11/7/08 7:27 AM, "Brian Karlak" <[EMAIL PROTECTED]> wrote: Hello -- I am testing fuse-dfs on a cluster running Hadoop 0.18.1. I can get reads to work properly, but when I try write operations, I get the following: % ./fuse_dfs_wrapper.sh --debug --server=hadoop.corp.metaweb.com -- port=3000 /mnt/hadoop-fuse -d -o-orw (other window) % ls /mnt/hadoop-fuse/user/hadoop jython-wc-3.sh/ test/ % cp ~/hadoop-default.xml /mnt/hadoop-fuse/user/hadoop cp: cannot create regular file `/mnt/hadoop-fuse/user/hadoop/hadoop- default.xml': Function not implemented When I look through fuse_dfs.c, I see a comment: // The remainder are write functionality and therefore not implemented right now Are fuse-dfs writes enabled in 0.18.1? If not, what version do I need to get write support? Or am I just configuring / calling fuse-dfs wrong? I've tried a variety of other -o options on the command line but have not found anything that works. Thanks in advance, Brian