Create hdfs cache directories and start nodes.