@Override public synchronized void init(HiveConf hiveConf) { for (Service service : serviceList) { service.init(hiveConf); } super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { LogDivertAppender.registerRoutingAppender(hiveConf); LogDivertAppenderForTest.registerRoutingAppenderIfInTest(hiveConf); if (hiveConf.isWebUiQueryInfoCacheEnabled()) { historicalQueryInfos = new QueryInfoCache( hiveConf.getIntVar(ConfVars.HIVE_SERVER2_WEBUI_MAX_HISTORIC_QUERIES)); } super.init(hiveConf); }
super.init(hiveConf);
@Override public synchronized void init(HiveConf hiveConf) { for (Service service : serviceList) { service.init(hiveConf); } super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { for (Service service : serviceList) { service.init(hiveConf); } super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { for (Service service : serviceList) { service.init(hiveConf); } super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { for (Service service : serviceList) { service.init(hiveConf); } super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { for (Service service : serviceList) { service.init(hiveConf); } super.init(hiveConf); }
public synchronized void init(HiveConf hiveConf) { super.init(hiveConf); try { this.scheduler = StdSchedulerFactory.getDefaultScheduler(); } catch (SchedulerException e) { isHealthy = false; healthCause = "Failed to initialize the Quartz Scheduler for AlarmService."; log.error(healthCause, e); throw new IllegalStateException("Could not initialize the Alarm Service", e); } }
@Override public void init(HiveConf conf) { inc(STATE.INITED); maybeFail(failOnInit, "init"); super.init(conf); }
@Override public void init(HiveConf conf) { inc(STATE.INITED); maybeFail(failOnInit, "init"); super.init(conf); }
@Override public void init(HiveConf conf) { inc(STATE.INITED); maybeFail(failOnInit, "init"); super.init(conf); }
@Override public void init(HiveConf conf) { inc(STATE.INITED); maybeFail(failOnInit, "init"); super.init(conf); }
@Override public void init(HiveConf conf) { inc(STATE.INITED); maybeFail(failOnInit, "init"); super.init(conf); }
@Override public synchronized void init(HiveConf hiveConf) { if (hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_LOGGING_OPERATION_ENABLED)) { initOperationLogCapture(hiveConf.getVar( HiveConf.ConfVars.HIVE_SERVER2_LOGGING_OPERATION_LEVEL)); } else { LOG.debug("Operation level logging is turned off"); } super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { if (hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_LOGGING_OPERATION_ENABLED)) { initOperationLogCapture(hiveConf.getVar( HiveConf.ConfVars.HIVE_SERVER2_LOGGING_OPERATION_LEVEL)); } else { LOG.debug("Operation level logging is turned off"); } super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { if (hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_LOGGING_OPERATION_ENABLED)) { initOperationLogCapture(hiveConf.getVar( HiveConf.ConfVars.HIVE_SERVER2_LOGGING_OPERATION_LEVEL)); } else { LOG.debug("Operation level logging is turned off"); } super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { if (hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_LOGGING_OPERATION_ENABLED)) { initOperationLogCapture(hiveConf.getVar( HiveConf.ConfVars.HIVE_SERVER2_LOGGING_OPERATION_LEVEL)); } else { LOG.debug("Operation level logging is turned off"); } super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { int numProcs = Runtime.getRuntime().availableProcessors(); ThreadFactory factory = new BasicThreadFactory.Builder() .namingPattern("Event_Service_Thread-%d") .daemon(false) .priority(Thread.NORM_PRIORITY) .build(); eventHandlerPool = Executors.newFixedThreadPool(hiveConf.getInt(LensConfConstants.EVENT_SERVICE_THREAD_POOL_SIZE, numProcs), factory); super.init(hiveConf); }
@Override public synchronized void init(HiveConf hiveConf) { LogDivertAppender.registerRoutingAppender(hiveConf); LogDivertAppenderForTest.registerRoutingAppenderIfInTest(hiveConf); if (hiveConf.isWebUiQueryInfoCacheEnabled()) { historicalQueryInfos = new QueryInfoCache( hiveConf.getIntVar(ConfVars.HIVE_SERVER2_WEBUI_MAX_HISTORIC_QUERIES)); } super.init(hiveConf); }