public class YarnEntrypointUtils extends Object
YarnSessionClusterEntrypoint
and
YarnJobClusterEntrypoint
.Constructor and Description |
---|
YarnEntrypointUtils() |
Modifier and Type | Method and Description |
---|---|
static SecurityContext |
installSecurityContext(Configuration configuration,
String workingDirectory) |
static Configuration |
loadConfiguration(String workingDirectory,
Map<String,String> env,
org.slf4j.Logger log) |
static void |
logYarnEnvironmentInformation(Map<String,String> env,
org.slf4j.Logger log) |
public static SecurityContext installSecurityContext(Configuration configuration, String workingDirectory) throws Exception
Exception
public static Configuration loadConfiguration(String workingDirectory, Map<String,String> env, org.slf4j.Logger log)
public static void logYarnEnvironmentInformation(Map<String,String> env, org.slf4j.Logger log) throws IOException
IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.