Package | Description |
---|---|
org.apache.hadoop.security | |
org.apache.hadoop.service.launcher |
This package contains classes, interfaces and exceptions to launch
YARN services from the command line.
|
Modifier and Type | Class and Description |
---|---|
static class |
KDiag.KerberosDiagsFailure
Diagnostics failures return the exit code 41, "unauthorized".
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceLaunchException
A service launch exception that includes an exit code.
|
Modifier and Type | Method and Description |
---|---|
protected static ExitUtil.ExitException |
ServiceLauncher.convertToExitException(Throwable thrown)
Convert an exception to an
ExitException . |
ExitUtil.ExitException |
ServiceLauncher.getServiceException()
Get the exit exception used to end this service.
|
ExitUtil.ExitException |
ServiceLauncher.launchService(Configuration conf,
List<String> processedArgs,
boolean addShutdownHook,
boolean execute)
Launch a service catching all exceptions and downgrading them to exit codes
after logging.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ServiceLauncher.exit(ExitUtil.ExitException ee)
Exit the JVM using an exception for the exit code and message,
invoking
ExitUtil.terminate(ExitUtil.ExitException) . |
Copyright © 2019 Apache Software Foundation. All Rights Reserved.