public final class SparkExecutionService
extends com.google.common.util.concurrent.AbstractIdleService
SparkMainWrapper
running in the driver
for controlling lifecycle management.Modifier and Type | Class and Description |
---|---|
class |
SparkExecutionService.SparkControllerHandler
The
HttpHandler for communicating with the Spark driver. |
Constructor and Description |
---|
SparkExecutionService(LocationFactory locationFactory,
String host,
co.cask.cdap.proto.id.ProgramRunId programRunId,
WorkflowToken workflowToken) |
Modifier and Type | Method and Description |
---|---|
URI |
getBaseURI()
Returns the base
URI for talking to this service remotely through HTTP. |
protected void |
shutDown() |
void |
shutdownNow() |
protected void |
startUp() |
public SparkExecutionService(LocationFactory locationFactory, String host, co.cask.cdap.proto.id.ProgramRunId programRunId, @Nullable WorkflowToken workflowToken)
public URI getBaseURI()
URI
for talking to this service remotely through HTTP.protected void startUp() throws Exception
startUp
in class com.google.common.util.concurrent.AbstractIdleService
Exception
protected void shutDown() throws Exception
shutDown
in class com.google.common.util.concurrent.AbstractIdleService
Exception
public void shutdownNow()
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.