ZOOKEEPER-1161 added a new configuration option to disable auto-creation of data directories, and CDH4 sets it, so we need a small fix to create the directories.
Thanks for taking a look Andrei. This fixed a problem I was having in testing CDH4 ZK.
I've just committed this.
+1 (not tested but looks simple enough)