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