public class PigDelegator extends LauncherDelegator
LauncherDelegator.JobType
runAs
appConf, ARCHIVES, FILES
Constructor and Description |
---|
PigDelegator(AppConfig appConf) |
Modifier and Type | Method and Description |
---|---|
EnqueueBean |
run(String user,
Map<String,Object> userArgs,
String execute,
String srcFile,
List<String> pigArgs,
String otherFiles,
String statusdir,
String callback,
boolean usesHcatalog,
String completedUrl,
boolean enablelog,
Boolean enableJobReconnect) |
addCacheFiles, addDef, enqueueController, makeLauncherArgs, makeOverrideClasspath, registerJob
public PigDelegator(AppConfig appConf)
public EnqueueBean run(String user, Map<String,Object> userArgs, String execute, String srcFile, List<String> pigArgs, String otherFiles, String statusdir, String callback, boolean usesHcatalog, String completedUrl, boolean enablelog, Boolean enableJobReconnect) 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.