public class RemoteExecutor extends PlanExecutor
| Constructor and Description |
|---|
RemoteExecutor(InetSocketAddress inet,
List<String> jarFiles) |
RemoteExecutor(String hostname,
int port) |
RemoteExecutor(String hostname,
int port,
List<String> jarFiles) |
RemoteExecutor(String hostname,
int port,
String jarFile) |
RemoteExecutor(String hostport,
String jarFile) |
| Modifier and Type | Method and Description |
|---|---|
JobExecutionResult |
executeJar(String jarPath,
String assemblerClass,
String[] args) |
JobExecutionResult |
executePlan(Plan plan) |
JobExecutionResult |
executePlanWithJars(JobWithJars p) |
static InetSocketAddress |
getInetFromHostport(String hostport) |
String |
getOptimizerPlanAsJSON(Plan plan) |
createLocalExecutor, createRemoteExecutorpublic RemoteExecutor(String hostname, int port)
public RemoteExecutor(InetSocketAddress inet, List<String> jarFiles)
public static InetSocketAddress getInetFromHostport(String hostport)
public JobExecutionResult executePlan(Plan plan) throws Exception
executePlan in class PlanExecutorExceptionpublic JobExecutionResult executePlanWithJars(JobWithJars p) throws Exception
Exceptionpublic JobExecutionResult executeJar(String jarPath, String assemblerClass, String[] args) throws Exception
Exceptionpublic String getOptimizerPlanAsJSON(Plan plan) throws Exception
getOptimizerPlanAsJSON in class PlanExecutorExceptionCopyright © 2013–2014. All rights reserved.