Esempio n. 1
0
        public virtual void TestTaskAttemptUnsuccessfulCompletionWithoutCounters0239()
        {
            Path histPath = new Path(GetType().GetClassLoader().GetResource("job_0.23.9-FAILED.jhist"
                                                                            ).GetFile());
            JobHistoryParser parser = new JobHistoryParser(FileSystem.GetLocal(new Configuration
                                                                                   ()), histPath);

            JobHistoryParser.JobInfo jobInfo = parser.Parse();
            Log.Info(" job info: " + jobInfo.GetJobname() + " " + jobInfo.GetFinishedMaps() +
                     " " + jobInfo.GetTotalMaps() + " " + jobInfo.GetJobId());
        }
Esempio n. 2
0
 public virtual int GetTotalMaps()
 {
     return((int)jobInfo.GetTotalMaps());
 }