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

Reply via email to