fix slave run datanode  when master not ready.