public void setDataDir(String dataDir) throws IOException {
   this.dataDir = DirMaker.ensureDir(dataDir);
 }
 public String getDataDir() {
   return DirMaker.getAbsolutePath(dataDir);
 }