public ZkClient(final TajoConf conf) throws IOException { this( conf.getVar(ZOOKEEPER_ADDRESS), conf.getIntVar(ZOOKEEPER_SESSION_TIMEOUT), conf.getIntVar(ZOOKEEPER_RETRY_COUNT), conf.getIntVar(ZOOKEEPER_RETRY_INTERVALMILLS)); }
static { try { TajoConf conf = new TajoConf(); lookup = new LookupService(conf.getVar(ConfVars.GEOIP_DATA), LookupService.GEOIP_MEMORY_CACHE); } catch (IOException e) { LOG.error("Cannot open the geoip data", e); } }