(file string, from int, to int)
| 19 | } |
| 20 | |
| 21 | func (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 | |
| 30 | func newMapTask() MapTaskInfo { |
| 31 | return MapTaskInfo{ |