Eliminate large temporary file. Write small files (below block size) into HDFS directly.