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, removeServiceclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic static final org.slf4j.Logger LOG
public static final int SHUTDOWN_HOOK_PRIORITY
protected void doSecureLogin()
throws IOException
IOExceptionprotected 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.CompositeServiceExceptionprotected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.CompositeServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.CompositeServiceExceptionpublic String getName()
getName in interface org.apache.hadoop.service.ServicegetName in class org.apache.hadoop.service.AbstractServicepublic 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.AbstractServiceCopyright © 2008–2024 Apache Software Foundation. All rights reserved.