Hi Sebastian. Setting of times doesn¹t work, but ls, rm, rmdir, mkdir, cp, etc etc should work.
Things that are not currently supported include: Touch, chown, chmod, permissions in general and obviously random writes for which you would get an IO error. This is what I get on 0.17 for df h: Filesystem Size Used Avail Use% Mounted on fuse XXXT YYYT ZZZT AA% /export/hdfs and the #s are right There is no unit test for df though (doh!), so it¹s quite possible the libhdfs API has changed and fuse-dfs needs to update its code to match the API. I will check that. To be honest, we run on 0.17.1, so other than unit tests, I never run on 0.19 :( -- pete Ps I created: https://issues.apache.org/jira/browse/HADOOP-3928 to track this. On 8/8/08 3:34 AM, "Sebastian Vieira" <[EMAIL PROTECTED]> wrote: > Hi Pete, > > From within the 0.19 source i did: > > ant jar > ant metrics.jar > ant test-core > > This resulted in 3 jar files within $HADOOP_HOME/build : > > [EMAIL PROTECTED] hadoop-0.19]# ls -l build/*.jar > -rw-r--r-- 1 root root 2201651 Aug 8 08:26 build/hadoop-0.19.0-dev-core.jar > -rw-r--r-- 1 root root 1096699 Aug 8 08:29 build/hadoop-0.19.0-dev-test.jar > -rw-r--r-- 1 root root 55695 Aug 8 08:26 > build/hadoop-metrics-0.19.0-dev.jar > > I've added these to be included in the CLASSPATH within the wrapper script: > > for f in `ls $HADOOP_HOME/build/*.jar`; do > export CLASSPATH=$CLASSPATH:$f > done > > This still produced the same error, so (thanks to the more detailed error > output your patch provided) i renamed hadoop-0.19.0-dev-core.jar to > hadoop-core.jar to match the regexp. > > Then i figured out that i can't use dfs://master:9000 becaus in > hadoop-site.xml i specified that dfs should run on port 54310 (doh!). So i > issued this command: > > ./fuse_dfs_wrapper.sh dfs://master:54310 /mnt/hadoop -d > > Succes! Even though the output from df -h is .. weird : > > fuse 512M 0 512M 0% /mnt/hadoop > > I added some data: > > for x in `seq 1 25`;do > dd if=/dev/zero of=/mnt/hadoop/test-$x.raw bs=1MB count=10 > done > > And now the output from df -h is: > > fuse 512M -3.4G 3.9G - /mnt/hadoop > > Note that my HDFS setup now consists of 20 nodes, exporting 15G each, so df is > a little confused. Hadoop's status page (dfshealth.jsp) correctly displays the > output though, evenly dividing the blocks over all the nodes. > > What i didn't understand however, is why there's no fuse-dfs in the > downloadable tarballs. Am i looking in the wrong place perhaps? > > Anyway, now that i got things mounted, i come upon the next problem. I can't > do much else than dd :) > > [EMAIL PROTECTED] fuse-dfs]# touch /mnt/hadoop/test.tst > touch: setting times of `/mnt/hadoop/test.tst': Function not implemented > > > regards, > > Sebastian >
