Exemplo n.º 1
0
 /** Constructor for MapTask */
 public TaskInProgress(
     JobID jobid,
     String jobFile,
     RawSplit rawSplit,
     JobConf conf,
     JobInProgressTraits job,
     int partition,
     int numSlotsRequired) {
   this.jobFile = jobFile;
   this.rawSplit = rawSplit;
   this.job = job;
   this.conf = conf;
   this.partition = partition;
   this.maxSkipRecords = SkipBadRecords.getMapperMaxSkipRecords(conf);
   this.numSlotsRequired = numSlotsRequired;
   setMaxTaskAttempts();
   init(jobid);
 }