| 限定符和类型 | 方法和说明 |
|---|---|
StreamingMasterConfig |
getConf() |
GraphManager |
getGraphManager() |
io.ray.api.ActorHandle<JobMaster> |
getJobMasterActor() |
static String |
getJobMasterRuntimeContextKey(StreamingMasterConfig conf) |
ResourceManager |
getResourceManager() |
JobMasterRuntimeContext |
getRuntimeContext() |
Boolean |
init(boolean isRecover)
Init JobMaster.
|
byte[] |
reportJobWorkerCommit(byte[] reportBytes) |
byte[] |
requestJobWorkerRollback(byte[] requestBytes) |
void |
saveContext() |
boolean |
submitJob(io.ray.api.ActorHandle<JobMaster> jobMasterActor,
JobGraph jobGraph)
Submit job to run:
Using GraphManager to build physical plan according to the logical plan.
|
public static String getJobMasterRuntimeContextKey(StreamingMasterConfig conf)
public Boolean init(boolean isRecover)
public boolean submitJob(io.ray.api.ActorHandle<JobMaster> jobMasterActor, JobGraph jobGraph)
jobMasterActor - JobMaster actorjobGraph - logical planpublic void saveContext()
public byte[] reportJobWorkerCommit(byte[] reportBytes)
public byte[] requestJobWorkerRollback(byte[] requestBytes)
public io.ray.api.ActorHandle<JobMaster> getJobMasterActor()
public JobMasterRuntimeContext getRuntimeContext()
public ResourceManager getResourceManager()
public GraphManager getGraphManager()
public StreamingMasterConfig getConf()
Copyright © 2022. All rights reserved.