public final class WebMonitorUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebMonitorUtils.LogFileLocation
Singleton to hold the log and stdout file
|
Modifier and Type | Method and Description |
---|---|
static JobDetails |
createDetailsForJob(AccessExecutionGraph job) |
static Map<String,String> |
fromKeyValueJsonArray(String jsonString) |
static WebMonitor |
startWebRuntimeMonitor(Configuration config,
LeaderRetrievalService leaderRetrievalService,
akka.actor.ActorSystem actorSystem)
Starts the web runtime monitor.
|
public static WebMonitor startWebRuntimeMonitor(Configuration config, LeaderRetrievalService leaderRetrievalService, akka.actor.ActorSystem actorSystem)
Because failure to start the web runtime monitor is not considered fatal, this method does not throw any exceptions, but only logs them.
config
- The configuration for the runtime monitor.leaderRetrievalService
- Leader retrieval service to get the leading JobManagerpublic static JobDetails createDetailsForJob(AccessExecutionGraph job)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.