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 ?