/// <exception cref="System.IO.IOException"/> public static JobControl CreateValueAggregatorJobs(string[] args, Type[] descriptors ) { JobControl theControl = new JobControl("ValueAggregatorJobs"); AList <Job> dependingJobs = new AList <Job>(); JobConf aJobConf = CreateValueAggregatorJob(args); if (descriptors != null) { SetAggregatorDescriptors(aJobConf, descriptors); } Job aJob = new Job(aJobConf, dependingJobs); theControl.AddJob(aJob); return(theControl); }
/// <exception cref="System.IO.IOException"/> public static JobControl CreateValueAggregatorJobs(string[] args, Type[] descriptors ) { JobControl theControl = new JobControl("ValueAggregatorJobs"); AList <ControlledJob> dependingJobs = new AList <ControlledJob>(); Configuration conf = new Configuration(); if (descriptors != null) { conf = SetAggregatorDescriptors(descriptors); } Job job = CreateValueAggregatorJob(conf, args); ControlledJob cjob = new ControlledJob(job, dependingJobs); theControl.AddJob(cjob); return(theControl); }