List of usage examples for org.apache.hadoop.fs LocalDirAllocator LocalDirAllocator
public LocalDirAllocator(String contextCfgItemName)
From source file:tajo.worker.Worker.java
License:Apache License
public Worker(final TajoConf conf) { this.conf = conf; lDirAllocator = new LocalDirAllocator(ConfVars.WORKER_TMP_DIR.varname); LOG.info(conf.getVar(ConfVars.WORKER_TMP_DIR)); this.workDir = new File(conf.getVar(ConfVars.WORKER_TMP_DIR)); sleeper = new Sleeper(); }