private void MapReduceThread()
        {
            driver.Progress += new ProgressDetails(RefreshStatus);
            driver.Start();

            foreach (var task in driver.Tasks)
            {
                status.OutputFiles.Add(task.Output.Location);
            }

            status.Type = StatusType.Stopped;
        }
示例#2
0
        private void MapReduceThread(object driver)
        {
            MapReduceDriver driverTyped = driver as MapReduceDriver;

            driverTyped.Progress += new ProgressDetails(RefreshStatus);
            driverTyped.Start();

            foreach (var task in driverTyped.Tasks)
            {
                status.OutputFiles.Add(task.Output.Location);
            }

            //status.Type = UpdateType.None;
            //status.Created = DateTime.Now;
            //Session[StatusKey] = status;
        }