0
votes

I have configured the hadoop on multi node cluster using the michael noll tutorial(http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/). in which how to configure the hadoop first on individual nodes and then connect them.

What i really wanted was that the hadoop should place the data in the directory specified the hadoop.data.dir parameter in hdfs-site.xml.

hadoop.data.dir /djhadoop/hadoop-data-dir Data Directory.

but instead it is still placing the data blocks in the directory specified in the tmp directory as given in core-site.xml:-

hadoop.tmp.dir /djhadoop/hadoop-tmp

Why is the hadoop not using the data directory specified in the hdfs-site.xml file and instead using the directory specified in core-site.xml ?

1

1 Answers

1
votes

IIRC, the property is dfs.data.dir and not hadoop.data.dir. Also make sure you have saved the changes and restarted the daemons in order to freeze the modifications.