Check for and create YARN NodeManager directories