Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Register *discovery.Resolver CancelFunc context.CancelFunc MapReduceClient mapreduce.MapReduceServiceClient )
Functions ¶
func MasterAssignTask ¶
func MasterAssignTask(ctx context.Context, taskReq *mapreduce.MapReduceTask) (resp *mapreduce.MapReduceTask, err error)
MasterAssignTask 通过 master 发送任务
func MasterTaskCompleted ¶
func MasterTaskCompleted(ctx context.Context, task *mapreduce.MapReduceTask) (resp *mapreduce.MasterTaskCompletedResp, err error)
MasterTaskCompleted 通知 master 任务完成的RPC调用
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.