create zookeeper's data directory and formate the hdfs namenode