#6: bugfixes around hdfs startup