@@ -0,0 +1,767 @@
+package tachyon.perf.tools;%0A%0Aimport java.io.IOException;%0A%0Aimport tachyon.conf.MasterConf;%0Aimport tachyon.perf.conf.PerfConf;%0Aimport tachyon.perf.fs.PerfFileSystem;%0A%0A/**%0A * A tool to clean the workspace on Tachyon.%0A */%0Apublic class TachyonPerfCleaner %7B%0A  public static void main(String%5B%5D args) %7B%0A    String tachyonAddress = MasterConf.get().MASTER_ADDRESS;%0A    try %7B%0A      PerfFileSystem fs = PerfFileSystem.get();%0A      fs.delete(PerfConf.get().WORK_DIR, true);%0A      fs.close();%0A    %7D catch (IOException e) %7B%0A      e.printStackTrace();%0A      System.err.println(%22Failed to clean workspace %22 + PerfConf.get().WORK_DIR + %22 on %22%0A          + tachyonAddress);%0A    %7D%0A    System.out.println(%22Clean the workspace %22 + PerfConf.get().WORK_DIR + %22 on %22 + tachyonAddress);%0A  %7D%0A%7D%0A

Add tool to clean workspace on Tachyon