I have installed CDH4 following the instructions in CDH4-Quick-Start.pdf for ubuntu. Three directories were created by default in /var/lib namely: hadoop-hdfs, hadoop-mapreduce, hadoop-yarn. Since I don't have much space in this partition I want to have at least the hdfs in another partition. I have stopped the hdfs and changed the parameters in hdfs-site.xml pointing to a directory in the new partition. I ve formatted and restarted hdfs but it was still the old directory that had been formatted. Now I don't have access to the server too.
What is the right procedure to create or move the 3 directories to another location? How can I fix the problem with the server?
Thanks in advance.