fixed namenode register datanode