MCPcopy Create free account
hub / github.com/BWbwchen/MapReduce / addFile

Method addFile

master/mapTaskInfo.go:21–28  ·  view source on GitHub ↗
(file string, from int, to int)

Source from the content-addressed store, hash-verified

19}
20
21func (mt *MapTaskInfo) addFile(file string, from int, to int) {
22 mt.Files = append(mt.Files, FileInfo{
23 FileName: file,
24 From: from,
25 To: to,
26 })
27 log.Trace("Add map input file")
28}
29
30func newMapTask() MapTaskInfo {
31 return MapTaskInfo{

Callers 1

distributeWorkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected