Wait for HDFS to exit safemode before edits