private void createCRLFetcherService(Configuration conf) { if (conf.getBoolean(CommonConfigurationKeysPublic.IPC_SERVER_SSL_ENABLED, CommonConfigurationKeysPublic.IPC_SERVER_SSL_ENABLED_DEFAULT)) { if (conf.getBoolean(CommonConfigurationKeysPublic.HOPS_CRL_VALIDATION_ENABLED_KEY, CommonConfigurationKeysPublic.HOPS_CRL_VALIDATION_ENABLED_DEFAULT)) { LOG.info("Creating CertificateRevocationList Fetcher service"); revocationListFetcherService = new RevocationListFetcherService(); addService(revocationListFetcherService); } else { LOG.warn("RPC TLS is enabled but CRL validation is disabled"); } } }
addService(del); addService(nodeHealthChecker); dirsHandler = nodeHealthChecker.getDiskHandler(); addService(nodeResourceMonitor); addService(containerManager); ((NMContext) context).setContainerManager(containerManager); addService(webServer); ((NMContext) context).setWebServer(webServer); addService(dispatcher); addService(nodeStatusUpdater); ((NMContext) context).setNodeStatusUpdater(nodeStatusUpdater);
addService(del); addService(nodeHealthChecker); dirsHandler = nodeHealthChecker.getDiskHandler(); addService(nodeResourceMonitor); addService(containerManager); ((NMContext) context).setContainerManager(containerManager); addService(webServer); ((NMContext) context).setWebServer(webServer); addService(dispatcher); addService(nodeStatusUpdater); ((NMContext) context).setNodeStatusUpdater(nodeStatusUpdater);
addService(del); new NodeHealthCheckerService( getNodeHealthScriptRunner(conf), dirsHandler); addService(nodeHealthChecker); addService(nodeResourceMonitor); ((NMContext) context).setNodeResourceMonitor(nodeResourceMonitor); createContainerManager(context, exec, del, nodeStatusUpdater, this.aclsManager, dirsHandler); addService(containerManager); ((NMContext) context).setContainerManager(containerManager); addService(webServer); ((NMContext) context).setWebServer(webServer); addService(dispatcher); CertificateLocalizationCtx.getInstance().setCertificateLocalization (certificateLocalizationService); addService(certificateLocalizationService); ((NMContext) context).setCertificateLocalizationService(certificateLocalizationService); addService(nodeStatusUpdater); ((NMContext) context).setNodeStatusUpdater(nodeStatusUpdater);
addService(del); new NodeHealthCheckerService( getNodeHealthScriptRunner(conf), dirsHandler); addService(nodeHealthChecker); addService(nodeResourceMonitor); ((NMContext) context).setNodeResourceMonitor(nodeResourceMonitor); createContainerManager(context, exec, del, nodeStatusUpdater, this.aclsManager, dirsHandler); addService(containerManager); ((NMContext) context).setContainerManager(containerManager); addService(nmLogAggregationStatusTracker); ((NMContext)context).setNMLogAggregationStatusTracker( this.nmLogAggregationStatusTracker); addService(webServer); ((NMContext) context).setWebServer(webServer); addService(dispatcher); addService(pauseMonitor); metrics.getJvmMetrics().setPauseMonitor(pauseMonitor); addService(nmCollectorService); addService(nodeStatusUpdater);