Ejemplo n.º 1
0
 public static Org.Apache.Hadoop.Mapred.JobStatus Downgrade(Org.Apache.Hadoop.Mapreduce.JobStatus
                                                            stat)
 {
     Org.Apache.Hadoop.Mapred.JobStatus old = new Org.Apache.Hadoop.Mapred.JobStatus(JobID
                                                                                     .Downgrade(stat.GetJobID()), stat.GetSetupProgress(), stat.GetMapProgress(), stat
                                                                                     .GetReduceProgress(), stat.GetCleanupProgress(), stat.GetState().GetValue(), JobPriority
                                                                                     .ValueOf(stat.GetPriority().ToString()), stat.GetUsername(), stat.GetJobName(),
                                                                                     stat.GetQueue(), stat.GetJobFile(), stat.GetTrackingUrl(), stat.IsUber());
     old.SetStartTime(stat.GetStartTime());
     old.SetFinishTime(stat.GetFinishTime());
     old.SetSchedulingInfo(stat.GetSchedulingInfo());
     old.SetHistoryFile(stat.GetHistoryFile());
     return(old);
 }