Documentation
¶
Index ¶
- type AbortReduceTaskArgs
- type AbortReduceTaskReply
- type DefaultRpcGateway
- type GetHeartBeatArgs
- type GetHeartBeatReply
- type IntermediateFile
- type MapTaskState
- type ReduceTaskState
- type RpcGateway
- type StartMapTaskArgs
- type StartMapTaskReply
- type StartReduceTaskArgs
- type StartReduceTaskReply
- type TaskStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortReduceTaskArgs ¶
type AbortReduceTaskArgs struct{}
type AbortReduceTaskReply ¶
type AbortReduceTaskReply struct{}
type DefaultRpcGateway ¶
type DefaultRpcGateway struct { }
type GetHeartBeatArgs ¶
type GetHeartBeatArgs struct{}
type GetHeartBeatReply ¶
type GetHeartBeatReply struct { MapTask *MapTaskState ReduceTask *ReduceTaskState }
type IntermediateFile ¶
type MapTaskState ¶
type MapTaskState struct { Id uint16 Status TaskStatus IntermediateFiles []IntermediateFile }
type ReduceTaskState ¶
type ReduceTaskState struct { Id uint16 Status TaskStatus PartitionNumber uint16 OutputFileLocation string }
type RpcGateway ¶
type StartMapTaskArgs ¶
type StartMapTaskReply ¶
type StartMapTaskReply struct{}
type StartReduceTaskArgs ¶
type StartReduceTaskArgs struct { Id uint16 IntermediateFiles []IntermediateFile }
type StartReduceTaskReply ¶
type StartReduceTaskReply struct{}
type TaskStatus ¶
type TaskStatus uint8
const ( Idle TaskStatus = 0 InProgress TaskStatus = 1 Completed TaskStatus = 2 )
Click to show internal directories.
Click to hide internal directories.