Reordered hdfs commands