Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JobDoneRequest ¶
type JobDoneRequest struct {
Id int
}
JobDoneRequest if job is done return job id
type Master ¶
Master master node internal state, logically represent a single MapReduce job
func MakeMaster ¶
create a Master. main/mrmaster.go calls this function. nReduce is the number of reduce tasks to use.
func (*Master) Done ¶
main/mrmaster.go calls Done() periodically to find out if the entire job has finished.
type NewJobReply ¶
NewJobReply get filename to process
Click to show internal directories.
Click to hide internal directories.