Modifier and Type | Method and Description |
---|---|
String |
appName() |
String |
appUIAddress() |
String |
appUIHostPort()
Return the application UI host:port.
|
String |
basePath() |
SparkConf |
conf() |
static SparkUI |
createHistoryUI(SparkConf conf,
SparkListenerBus listenerBus,
SecurityManager securityManager,
String appName,
String basePath) |
static SparkUI |
createLiveUI(SparkContext sc,
SparkConf conf,
SparkListenerBus listenerBus,
JobProgressListener jobProgressListener,
SecurityManager securityManager,
String appName) |
static int |
DEFAULT_PORT() |
EnvironmentListener |
environmentListener() |
ExecutorsListener |
executorsListener() |
String |
getAppName() |
static int |
getUIPort(SparkConf conf) |
void |
initialize()
Initialize all components of the server.
|
JobProgressListener |
jobProgressListener() |
boolean |
killEnabled() |
scala.Option<SparkContext> |
sc() |
SecurityManager |
securityManager() |
void |
setAppName(String name)
Set the app name for this UI.
|
static String |
STATIC_RESOURCE_DIR() |
void |
stop()
Stop the server behind this web interface.
|
StorageListener |
storageListener() |
StorageStatusListener |
storageStatusListener() |
attachHandler, attachPage, attachTab, bind, boundPort, getBasePath, getHandlers, getSecurityManager, getTabs
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public static int DEFAULT_PORT()
public static String STATIC_RESOURCE_DIR()
public static int getUIPort(SparkConf conf)
public static SparkUI createLiveUI(SparkContext sc, SparkConf conf, SparkListenerBus listenerBus, JobProgressListener jobProgressListener, SecurityManager securityManager, String appName)
public static SparkUI createHistoryUI(SparkConf conf, SparkListenerBus listenerBus, SecurityManager securityManager, String appName, String basePath)
public scala.Option<SparkContext> sc()
public SparkConf conf()
public SecurityManager securityManager()
public EnvironmentListener environmentListener()
public StorageStatusListener storageStatusListener()
public ExecutorsListener executorsListener()
public JobProgressListener jobProgressListener()
public StorageListener storageListener()
public String appName()
public String basePath()
public boolean killEnabled()
public void initialize()
initialize
in class WebUI
public String getAppName()
public void setAppName(String name)
public void stop()
public String appUIHostPort()
public String appUIAddress()