public class GlobalPolicyGenerator
extends org.apache.hadoop.service.CompositeService
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
static int |
SHUTDOWN_HOOK_PRIORITY |
Constructor and Description |
---|
GlobalPolicyGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
doSecureLogin() |
GPGContext |
getGPGContext() |
static long |
getGPGStartupTime() |
String |
getName() |
org.apache.hadoop.yarn.webapp.WebApp |
getWebApp() |
protected void |
initAndStart(org.apache.hadoop.conf.Configuration conf,
boolean hasToReboot) |
static void |
main(String[] argv) |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
void |
setConfig(org.apache.hadoop.conf.Configuration conf) |
static void |
startGPG(String[] argv,
org.apache.hadoop.conf.Configuration conf) |
void |
startWepApp() |
addIfService, addService, getServices, removeService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public static final org.slf4j.Logger LOG
public static final int SHUTDOWN_HOOK_PRIORITY
protected void doSecureLogin() throws IOException
IOException
protected void initAndStart(org.apache.hadoop.conf.Configuration conf, boolean hasToReboot)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class org.apache.hadoop.service.CompositeService
Exception
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.CompositeService
Exception
protected void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.CompositeService
Exception
public String getName()
getName
in interface org.apache.hadoop.service.Service
getName
in class org.apache.hadoop.service.AbstractService
public GPGContext getGPGContext()
@VisibleForTesting public void startWepApp()
public static void startGPG(String[] argv, org.apache.hadoop.conf.Configuration conf)
public static void main(String[] argv)
public static long getGPGStartupTime()
@VisibleForTesting public org.apache.hadoop.yarn.webapp.WebApp getWebApp()
public void setConfig(org.apache.hadoop.conf.Configuration conf)
setConfig
in class org.apache.hadoop.service.AbstractService
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.