public class JarDelegator extends LauncherDelegator
LauncherDelegator.JobType
runAs
appConf, ARCHIVES, FILES
Constructor and Description |
---|
JarDelegator(AppConfig appConf) |
Modifier and Type | Method and Description |
---|---|
EnqueueBean |
run(String user,
Map<String,Object> userArgs,
String jar,
String mainClass,
String libjars,
String files,
List<String> jarArgs,
List<String> defines,
String statusdir,
String callback,
boolean usesHcatalog,
String completedUrl,
boolean enablelog,
Boolean enableJobReconnect,
LauncherDelegator.JobType jobType) |
addCacheFiles, addDef, enqueueController, makeLauncherArgs, makeOverrideClasspath, registerJob
public JarDelegator(AppConfig appConf)
public EnqueueBean run(String user, Map<String,Object> userArgs, String jar, String mainClass, String libjars, String files, List<String> jarArgs, List<String> defines, String statusdir, String callback, boolean usesHcatalog, String completedUrl, boolean enablelog, Boolean enableJobReconnect, LauncherDelegator.JobType jobType) throws NotAuthorizedException, BadParam, BusyException, QueueException, org.apache.commons.exec.ExecuteException, IOException, InterruptedException
NotAuthorizedException
BadParam
BusyException
QueueException
org.apache.commons.exec.ExecuteException
IOException
InterruptedException
Copyright © 2017 The Apache Software Foundation. All rights reserved.