Use the last hadoop data dir as log dir.