| Modifier and Type | Method and Description |
|---|---|
StreamingMasterConfig |
getConf() |
GraphManager |
getGraphManager() |
io.ray.api.ActorHandle<JobMaster> |
getJobMasterActor() |
ResourceManager |
getResourceManager() |
JobRuntimeContext |
getRuntimeContext() |
Boolean |
init()
Init JobMaster.
|
boolean |
submitJob(io.ray.api.ActorHandle<JobMaster> jobMasterActor,
io.ray.streaming.jobgraph.JobGraph jobGraph)
Submit job to run:
Using GraphManager to build physical plan according to the logical plan.
Using ResourceManager to manage and allocate the resources.
Using JobScheduler to schedule the job to run.
|
public Boolean init()
public boolean submitJob(io.ray.api.ActorHandle<JobMaster> jobMasterActor, io.ray.streaming.jobgraph.JobGraph jobGraph)
jobMasterActor - JobMaster actorjobGraph - logical planpublic io.ray.api.ActorHandle<JobMaster> getJobMasterActor()
public JobRuntimeContext getRuntimeContext()
public ResourceManager getResourceManager()
public GraphManager getGraphManager()
public StreamingMasterConfig getConf()
Copyright © 2020. All rights reserved.