Changeset 5718
- Timestamp:
- 03/16/11 17:02:15 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources
- Files:
-
- 1 added
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Tests/SlaveTest.cs
r5599 r5718 73 73 public void TestSingleJob() { 74 74 Job testJob = new Job { Id = Guid.NewGuid(), CoresNeeded = 1, MemoryNeeded = 0 }; 75 testJob.S etState(JobState.Waiting);75 testJob.State = JobState.Waiting; 76 76 List<Job> jobList = new List<Job>(); 77 77 jobList.Add(testJob); … … 111 111 public void TestShutdownSlaveWhileJobRunning() { 112 112 Job testJob = new Job { Id = Guid.NewGuid(), CoresNeeded = 1, MemoryNeeded = 0 }; 113 testJob.S etState(JobState.Waiting);113 testJob.State = JobState.Waiting; 114 114 List<Job> jobList = new List<Job>(); 115 115 jobList.Add(testJob); … … 172 172 public void TestTwoJobs() { 173 173 Job testJob1 = new Job { Id = Guid.NewGuid(), CoresNeeded = 1, MemoryNeeded = 0 }; 174 testJob1.S etState(JobState.Waiting);174 testJob1.State = JobState.Waiting; 175 175 Job testJob2 = new Job { Id = Guid.NewGuid(), CoresNeeded = 1, MemoryNeeded = 0 }; 176 testJob2.S etState(JobState.Waiting);176 testJob2.State = JobState.Waiting; 177 177 List<Job> jobList = new List<Job>(); 178 178 jobList.Add(testJob1); -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/Core.cs
r5636 r5718 348 348 Job job = Jobs[data.JobId]; 349 349 wcfService.UpdateJobData(job, data, ConfigManager.Instance.GetClientInfo().Id, JobState.Paused); 350 job.SetState(JobState.Waiting); 351 wcfService.UpdateJob(job); 350 wcfService.UpdateJobState(job.Id, JobState.Waiting, null); 352 351 } 353 352 KillAppDomain(data.JobId); -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/Executor.cs
r5599 r5718 127 127 128 128 Job childJob = new Job(); 129 childJob.SetState(JobState.Offline);130 129 childJob.CoresNeeded = 1; 131 130 childJob.MemoryNeeded = 0; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/HiveJobView.cs
r5636 r5718 23 23 using System.Linq; 24 24 using System.Windows.Forms; 25 using HeuristicLab.Core;26 25 using HeuristicLab.Core.Views; 27 26 using HeuristicLab.MainForm; … … 62 61 if (Content != null && Content.Job != null) { 63 62 logView.Content = Content.OptimizerJob.Log; 64 childHiveJobView.Content = Content.ChildHiveJobs;65 63 computeInParallelCheckBox.Checked = Content.OptimizerJob.ComputeInParallel; 66 64 } else { 67 65 logView.Content = null; 68 childHiveJobView.Content = null;69 66 computeInParallelCheckBox.Checked = false; 70 67 } … … 110 107 if (Content != null && Content.Job != null) { 111 108 this.jobIdTextBox.Text = Content.Job.Id.ToString(); 112 this.dateCreatedTextBox.Text = Content.Job.DateCreated. ToString();109 this.dateCreatedTextBox.Text = Content.Job.DateCreated.HasValue ? Content.Job.DateCreated.ToString() : "-"; 113 110 this.priorityTextBox.Text = Content.Job.Priority.ToString(); 114 111 this.coresNeededTextBox.Text = Content.Job.CoresNeeded.ToString(); … … 131 128 this.stateTextBox.Text = Content.Job.State.ToString(); 132 129 this.executionTimeTextBox.Text = Content.Job.ExecutionTime.ToString(); 133 //this.dateCalculatedText.Text = Content.Job.DateCalculated.ToString();134 130 this.dateFinishedTextBox.Text = Content.Job.DateFinished.ToString(); 135 131 this.exceptionTextBox.Text = Content.Job.CurrentStateLog.Exception; 136 132 if (Content.OptimizerJob.ComputeInParallel) { 137 this.stateLogViewHost.Content = new ItemList<StateLogList>(133 this.stateLogViewHost.Content = new StateLogListList( 138 134 this.Content.ChildHiveJobs.Select(child => new StateLogList(child.Job.StateLog) 139 135 )); … … 168 164 169 165 optimizerNamedItemView.ReadOnly = true; 170 ShowOrHideChildJobTabPage();171 166 } 172 167 … … 176 171 } else { 177 172 computeInParallelCheckBox.Checked = Content.OptimizerJob.ComputeInParallel; 178 ShowOrHideChildJobTabPage();179 }180 }181 182 private void ShowOrHideChildJobTabPage() {183 if (Content != null && Content.OptimizerJob != null) {184 if (!Content.OptimizerJob.ComputeInParallel) {185 if (tabControl.TabPages.Contains(childJobsTabPage))186 tabControl.TabPages.Remove(childJobsTabPage);187 } else {188 if (!tabControl.TabPages.Contains(childJobsTabPage))189 tabControl.TabPages.Insert(1, childJobsTabPage);190 }191 173 } 192 174 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/HiveJobView.designer.cs
r5637 r5718 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 this.logTabPage = new System.Windows.Forms.TabPage(); 27 this.logView = new HeuristicLab.Core.Views.LogView(); 28 this.stateLogTabPage = new System.Windows.Forms.TabPage(); 29 this.stateLogViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 30 this.runsTabPage = new System.Windows.Forms.TabPage(); 31 this.runCollectionViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 32 this.detailsTabPage = new System.Windows.Forms.TabPage(); 33 this.jobStatusGroupBox = new System.Windows.Forms.GroupBox(); 34 this.exceptionTextBox = new System.Windows.Forms.TextBox(); 35 this.dateFinishedLabel = new System.Windows.Forms.Label(); 36 this.dateCreatedLabel = new System.Windows.Forms.Label(); 37 this.exceptionLabel = new System.Windows.Forms.Label(); 38 this.executionTimeLabel = new System.Windows.Forms.Label(); 39 this.dateCreatedTextBox = new System.Windows.Forms.TextBox(); 40 this.executionTimeTextBox = new System.Windows.Forms.TextBox(); 41 this.dateFinishedTextBox = new System.Windows.Forms.TextBox(); 42 this.dateCalculatedText = new System.Windows.Forms.TextBox(); 26 43 this.stateLabel = new System.Windows.Forms.Label(); 44 this.dateCalculatedLabel = new System.Windows.Forms.Label(); 27 45 this.stateTextBox = new System.Windows.Forms.TextBox(); 28 this.executionTimeTextBox = new System.Windows.Forms.TextBox(); 29 this.dateCreatedTextBox = new System.Windows.Forms.TextBox(); 30 this.dateFinishedTextBox = new System.Windows.Forms.TextBox(); 31 this.exceptionTextBox = new System.Windows.Forms.TextBox(); 32 this.executionTimeLabel = new System.Windows.Forms.Label(); 33 this.dateCreatedLabel = new System.Windows.Forms.Label(); 34 this.dateFinishedLabel = new System.Windows.Forms.Label(); 35 this.exceptionLabel = new System.Windows.Forms.Label(); 36 this.dateCalculatedText = new System.Windows.Forms.TextBox(); 37 this.dateCalculatedLabel = new System.Windows.Forms.Label(); 38 this.jobStatusGroupBox = new System.Windows.Forms.GroupBox(); 39 this.tabControl = new System.Windows.Forms.TabControl(); 40 this.detailsTabPage = new System.Windows.Forms.TabPage(); 46 this.jobIdTextBox = new System.Windows.Forms.TextBox(); 47 this.jobIdLabel = new System.Windows.Forms.Label(); 48 this.configurationGroupBox = new System.Windows.Forms.GroupBox(); 49 this.computeInParallelCheckBox = new System.Windows.Forms.CheckBox(); 50 this.computeInParallelLabel = new System.Windows.Forms.Label(); 51 this.coresNeededLabel = new System.Windows.Forms.Label(); 52 this.memoryNeededLabel = new System.Windows.Forms.Label(); 53 this.memoryNeededTextBox = new System.Windows.Forms.TextBox(); 54 this.coresNeededTextBox = new System.Windows.Forms.TextBox(); 55 this.priorityLabel = new System.Windows.Forms.Label(); 56 this.priorityTextBox = new System.Windows.Forms.TextBox(); 41 57 this.optimizerGroupBox = new System.Windows.Forms.GroupBox(); 42 58 this.optimizerNamedItemView = new HeuristicLab.Core.Views.NamedItemView(); 43 this.configurationGroupBox = new System.Windows.Forms.GroupBox(); 44 this.priorityTextBox = new System.Windows.Forms.TextBox(); 45 this.priorityLabel = new System.Windows.Forms.Label(); 46 this.coresNeededTextBox = new System.Windows.Forms.TextBox(); 47 this.memoryNeededTextBox = new System.Windows.Forms.TextBox(); 48 this.memoryNeededLabel = new System.Windows.Forms.Label(); 49 this.coresNeededLabel = new System.Windows.Forms.Label(); 50 this.computeInParallelLabel = new System.Windows.Forms.Label(); 51 this.computeInParallelCheckBox = new System.Windows.Forms.CheckBox(); 52 this.jobIdLabel = new System.Windows.Forms.Label(); 53 this.jobIdTextBox = new System.Windows.Forms.TextBox(); 54 this.childJobsTabPage = new System.Windows.Forms.TabPage(); 55 this.runsTabPage = new System.Windows.Forms.TabPage(); 56 this.runCollectionViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 57 this.stateLogTabPage = new System.Windows.Forms.TabPage(); 58 this.stateLogViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 59 this.logTabPage = new System.Windows.Forms.TabPage(); 60 this.logView = new HeuristicLab.Core.Views.LogView(); 61 this.childHiveJobView = new HeuristicLab.Clients.Hive.Views.HiveJobListView(); 59 this.tabControl = new System.Windows.Forms.TabControl(); 60 this.logTabPage.SuspendLayout(); 61 this.stateLogTabPage.SuspendLayout(); 62 this.runsTabPage.SuspendLayout(); 63 this.detailsTabPage.SuspendLayout(); 62 64 this.jobStatusGroupBox.SuspendLayout(); 65 this.configurationGroupBox.SuspendLayout(); 66 this.optimizerGroupBox.SuspendLayout(); 63 67 this.tabControl.SuspendLayout(); 64 this.detailsTabPage.SuspendLayout();65 this.optimizerGroupBox.SuspendLayout();66 this.configurationGroupBox.SuspendLayout();67 this.childJobsTabPage.SuspendLayout();68 this.runsTabPage.SuspendLayout();69 this.stateLogTabPage.SuspendLayout();70 this.logTabPage.SuspendLayout();71 68 this.SuspendLayout(); 72 69 // 73 // stateLabel 74 // 75 this.stateLabel.AutoSize = true; 76 this.stateLabel.Location = new System.Drawing.Point(7, 19); 77 this.stateLabel.Name = "stateLabel"; 78 this.stateLabel.Size = new System.Drawing.Size(35, 13); 79 this.stateLabel.TabIndex = 0; 80 this.stateLabel.Text = "State:"; 81 // 82 // stateTextBox 83 // 84 this.stateTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 85 | System.Windows.Forms.AnchorStyles.Right))); 86 this.stateTextBox.Location = new System.Drawing.Point(95, 19); 87 this.stateTextBox.Name = "stateTextBox"; 88 this.stateTextBox.Size = new System.Drawing.Size(509, 20); 89 this.stateTextBox.TabIndex = 2; 90 // 91 // executionTimeTextBox 92 // 93 this.executionTimeTextBox.Location = new System.Drawing.Point(95, 41); 94 this.executionTimeTextBox.Name = "executionTimeTextBox"; 95 this.executionTimeTextBox.Size = new System.Drawing.Size(509, 20); 96 this.executionTimeTextBox.TabIndex = 4; 97 // 98 // dateCreatedTextBox 99 // 100 this.dateCreatedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 101 | System.Windows.Forms.AnchorStyles.Right))); 102 this.dateCreatedTextBox.Location = new System.Drawing.Point(95, 63); 103 this.dateCreatedTextBox.Name = "dateCreatedTextBox"; 104 this.dateCreatedTextBox.Size = new System.Drawing.Size(509, 20); 105 this.dateCreatedTextBox.TabIndex = 5; 106 // 107 // dateFinishedTextBox 108 // 109 this.dateFinishedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 110 | System.Windows.Forms.AnchorStyles.Right))); 111 this.dateFinishedTextBox.Location = new System.Drawing.Point(95, 107); 112 this.dateFinishedTextBox.Name = "dateFinishedTextBox"; 113 this.dateFinishedTextBox.Size = new System.Drawing.Size(509, 20); 114 this.dateFinishedTextBox.TabIndex = 6; 115 // 116 // exceptionTextBox 117 // 118 this.exceptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 119 | System.Windows.Forms.AnchorStyles.Right))); 120 this.exceptionTextBox.Location = new System.Drawing.Point(95, 129); 121 this.exceptionTextBox.Name = "exceptionTextBox"; 122 this.exceptionTextBox.Size = new System.Drawing.Size(509, 20); 123 this.exceptionTextBox.TabIndex = 10; 124 // 125 // executionTimeLabel 126 // 127 this.executionTimeLabel.AutoSize = true; 128 this.executionTimeLabel.Location = new System.Drawing.Point(7, 41); 129 this.executionTimeLabel.Name = "executionTimeLabel"; 130 this.executionTimeLabel.Size = new System.Drawing.Size(80, 13); 131 this.executionTimeLabel.TabIndex = 13; 132 this.executionTimeLabel.Text = "ExecutionTime:"; 133 // 134 // dateCreatedLabel 135 // 136 this.dateCreatedLabel.AutoSize = true; 137 this.dateCreatedLabel.Location = new System.Drawing.Point(7, 63); 138 this.dateCreatedLabel.Name = "dateCreatedLabel"; 139 this.dateCreatedLabel.Size = new System.Drawing.Size(70, 13); 140 this.dateCreatedLabel.TabIndex = 14; 141 this.dateCreatedLabel.Text = "DateCreated:"; 142 // 143 // dateFinishedLabel 144 // 145 this.dateFinishedLabel.AutoSize = true; 146 this.dateFinishedLabel.Location = new System.Drawing.Point(7, 107); 147 this.dateFinishedLabel.Name = "dateFinishedLabel"; 148 this.dateFinishedLabel.Size = new System.Drawing.Size(72, 13); 149 this.dateFinishedLabel.TabIndex = 15; 150 this.dateFinishedLabel.Text = "DateFinished:"; 151 // 152 // exceptionLabel 153 // 154 this.exceptionLabel.AutoSize = true; 155 this.exceptionLabel.Location = new System.Drawing.Point(7, 129); 156 this.exceptionLabel.Name = "exceptionLabel"; 157 this.exceptionLabel.Size = new System.Drawing.Size(57, 13); 158 this.exceptionLabel.TabIndex = 19; 159 this.exceptionLabel.Text = "Exception:"; 160 // 161 // dateCalculatedText 162 // 163 this.dateCalculatedText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 164 | System.Windows.Forms.AnchorStyles.Right))); 165 this.dateCalculatedText.Location = new System.Drawing.Point(95, 85); 166 this.dateCalculatedText.Name = "dateCalculatedText"; 167 this.dateCalculatedText.Size = new System.Drawing.Size(509, 20); 168 this.dateCalculatedText.TabIndex = 22; 169 // 170 // dateCalculatedLabel 171 // 172 this.dateCalculatedLabel.AutoSize = true; 173 this.dateCalculatedLabel.Location = new System.Drawing.Point(7, 85); 174 this.dateCalculatedLabel.Name = "dateCalculatedLabel"; 175 this.dateCalculatedLabel.Size = new System.Drawing.Size(83, 13); 176 this.dateCalculatedLabel.TabIndex = 23; 177 this.dateCalculatedLabel.Text = "DateCalculated:"; 70 // logTabPage 71 // 72 this.logTabPage.Controls.Add(this.logView); 73 this.logTabPage.Location = new System.Drawing.Point(4, 22); 74 this.logTabPage.Name = "logTabPage"; 75 this.logTabPage.Padding = new System.Windows.Forms.Padding(3); 76 this.logTabPage.Size = new System.Drawing.Size(619, 492); 77 this.logTabPage.TabIndex = 1; 78 this.logTabPage.Text = "Log"; 79 this.logTabPage.UseVisualStyleBackColor = true; 80 // 81 // logView 82 // 83 this.logView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 84 | System.Windows.Forms.AnchorStyles.Left) 85 | System.Windows.Forms.AnchorStyles.Right))); 86 this.logView.Caption = "Log View"; 87 this.logView.Content = null; 88 this.logView.Location = new System.Drawing.Point(3, 3); 89 this.logView.Name = "logView"; 90 this.logView.ReadOnly = false; 91 this.logView.Size = new System.Drawing.Size(613, 486); 92 this.logView.TabIndex = 0; 93 // 94 // stateLogTabPage 95 // 96 this.stateLogTabPage.Controls.Add(this.stateLogViewHost); 97 this.stateLogTabPage.Location = new System.Drawing.Point(4, 22); 98 this.stateLogTabPage.Name = "stateLogTabPage"; 99 this.stateLogTabPage.Size = new System.Drawing.Size(619, 492); 100 this.stateLogTabPage.TabIndex = 5; 101 this.stateLogTabPage.Text = "State"; 102 this.stateLogTabPage.UseVisualStyleBackColor = true; 103 // 104 // stateLogViewHost 105 // 106 this.stateLogViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 107 | System.Windows.Forms.AnchorStyles.Left) 108 | System.Windows.Forms.AnchorStyles.Right))); 109 this.stateLogViewHost.Caption = "View"; 110 this.stateLogViewHost.Content = null; 111 this.stateLogViewHost.Enabled = false; 112 this.stateLogViewHost.Location = new System.Drawing.Point(0, 0); 113 this.stateLogViewHost.Name = "stateLogViewHost"; 114 this.stateLogViewHost.ReadOnly = false; 115 this.stateLogViewHost.Size = new System.Drawing.Size(619, 492); 116 this.stateLogViewHost.TabIndex = 0; 117 this.stateLogViewHost.ViewsLabelVisible = true; 118 this.stateLogViewHost.ViewType = null; 119 // 120 // runsTabPage 121 // 122 this.runsTabPage.Controls.Add(this.runCollectionViewHost); 123 this.runsTabPage.Location = new System.Drawing.Point(4, 22); 124 this.runsTabPage.Name = "runsTabPage"; 125 this.runsTabPage.Size = new System.Drawing.Size(619, 492); 126 this.runsTabPage.TabIndex = 4; 127 this.runsTabPage.Text = "Runs"; 128 this.runsTabPage.UseVisualStyleBackColor = true; 129 // 130 // runCollectionViewHost 131 // 132 this.runCollectionViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 133 | System.Windows.Forms.AnchorStyles.Left) 134 | System.Windows.Forms.AnchorStyles.Right))); 135 this.runCollectionViewHost.Caption = "View"; 136 this.runCollectionViewHost.Content = null; 137 this.runCollectionViewHost.Enabled = false; 138 this.runCollectionViewHost.Location = new System.Drawing.Point(3, 3); 139 this.runCollectionViewHost.Name = "runCollectionViewHost"; 140 this.runCollectionViewHost.ReadOnly = false; 141 this.runCollectionViewHost.Size = new System.Drawing.Size(613, 486); 142 this.runCollectionViewHost.TabIndex = 0; 143 this.runCollectionViewHost.ViewsLabelVisible = true; 144 this.runCollectionViewHost.ViewType = null; 145 // 146 // detailsTabPage 147 // 148 this.detailsTabPage.Controls.Add(this.optimizerGroupBox); 149 this.detailsTabPage.Controls.Add(this.configurationGroupBox); 150 this.detailsTabPage.Controls.Add(this.jobIdLabel); 151 this.detailsTabPage.Controls.Add(this.jobIdTextBox); 152 this.detailsTabPage.Controls.Add(this.jobStatusGroupBox); 153 this.detailsTabPage.Location = new System.Drawing.Point(4, 22); 154 this.detailsTabPage.Name = "detailsTabPage"; 155 this.detailsTabPage.Padding = new System.Windows.Forms.Padding(3); 156 this.detailsTabPage.Size = new System.Drawing.Size(619, 492); 157 this.detailsTabPage.TabIndex = 0; 158 this.detailsTabPage.Text = "Details"; 159 this.detailsTabPage.UseVisualStyleBackColor = true; 178 160 // 179 161 // jobStatusGroupBox … … 200 182 this.jobStatusGroupBox.Text = "Job Status"; 201 183 // 202 // tabControl 203 // 204 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 205 | System.Windows.Forms.AnchorStyles.Left) 206 | System.Windows.Forms.AnchorStyles.Right))); 207 this.tabControl.Controls.Add(this.detailsTabPage); 208 this.tabControl.Controls.Add(this.childJobsTabPage); 209 this.tabControl.Controls.Add(this.runsTabPage); 210 this.tabControl.Controls.Add(this.stateLogTabPage); 211 this.tabControl.Controls.Add(this.logTabPage); 212 this.tabControl.Location = new System.Drawing.Point(3, 3); 213 this.tabControl.Name = "tabControl"; 214 this.tabControl.SelectedIndex = 0; 215 this.tabControl.Size = new System.Drawing.Size(627, 518); 216 this.tabControl.TabIndex = 25; 217 // 218 // detailsTabPage 219 // 220 this.detailsTabPage.Controls.Add(this.optimizerGroupBox); 221 this.detailsTabPage.Controls.Add(this.configurationGroupBox); 222 this.detailsTabPage.Controls.Add(this.jobIdLabel); 223 this.detailsTabPage.Controls.Add(this.jobIdTextBox); 224 this.detailsTabPage.Controls.Add(this.jobStatusGroupBox); 225 this.detailsTabPage.Location = new System.Drawing.Point(4, 22); 226 this.detailsTabPage.Name = "detailsTabPage"; 227 this.detailsTabPage.Padding = new System.Windows.Forms.Padding(3); 228 this.detailsTabPage.Size = new System.Drawing.Size(619, 492); 229 this.detailsTabPage.TabIndex = 0; 230 this.detailsTabPage.Text = "Details"; 231 this.detailsTabPage.UseVisualStyleBackColor = true; 232 // 233 // optimizerGroupBox 234 // 235 this.optimizerGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 236 | System.Windows.Forms.AnchorStyles.Right))); 237 this.optimizerGroupBox.Controls.Add(this.optimizerNamedItemView); 238 this.optimizerGroupBox.Location = new System.Drawing.Point(6, 29); 239 this.optimizerGroupBox.Name = "optimizerGroupBox"; 240 this.optimizerGroupBox.Size = new System.Drawing.Size(610, 74); 241 this.optimizerGroupBox.TabIndex = 28; 242 this.optimizerGroupBox.TabStop = false; 243 this.optimizerGroupBox.Text = "Optimizer"; 244 // 245 // optimizerNamedItemView 246 // 247 this.optimizerNamedItemView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 248 | System.Windows.Forms.AnchorStyles.Right))); 249 this.optimizerNamedItemView.Caption = "NamedItem View"; 250 this.optimizerNamedItemView.Content = null; 251 this.optimizerNamedItemView.Location = new System.Drawing.Point(6, 20); 252 this.optimizerNamedItemView.Name = "optimizerNamedItemView"; 253 this.optimizerNamedItemView.ReadOnly = false; 254 this.optimizerNamedItemView.Size = new System.Drawing.Size(598, 51); 255 this.optimizerNamedItemView.TabIndex = 0; 184 // exceptionTextBox 185 // 186 this.exceptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 187 | System.Windows.Forms.AnchorStyles.Right))); 188 this.exceptionTextBox.Location = new System.Drawing.Point(95, 129); 189 this.exceptionTextBox.Name = "exceptionTextBox"; 190 this.exceptionTextBox.Size = new System.Drawing.Size(509, 20); 191 this.exceptionTextBox.TabIndex = 10; 192 // 193 // dateFinishedLabel 194 // 195 this.dateFinishedLabel.AutoSize = true; 196 this.dateFinishedLabel.Location = new System.Drawing.Point(7, 107); 197 this.dateFinishedLabel.Name = "dateFinishedLabel"; 198 this.dateFinishedLabel.Size = new System.Drawing.Size(72, 13); 199 this.dateFinishedLabel.TabIndex = 15; 200 this.dateFinishedLabel.Text = "DateFinished:"; 201 // 202 // dateCreatedLabel 203 // 204 this.dateCreatedLabel.AutoSize = true; 205 this.dateCreatedLabel.Location = new System.Drawing.Point(7, 63); 206 this.dateCreatedLabel.Name = "dateCreatedLabel"; 207 this.dateCreatedLabel.Size = new System.Drawing.Size(70, 13); 208 this.dateCreatedLabel.TabIndex = 14; 209 this.dateCreatedLabel.Text = "DateCreated:"; 210 // 211 // exceptionLabel 212 // 213 this.exceptionLabel.AutoSize = true; 214 this.exceptionLabel.Location = new System.Drawing.Point(7, 129); 215 this.exceptionLabel.Name = "exceptionLabel"; 216 this.exceptionLabel.Size = new System.Drawing.Size(57, 13); 217 this.exceptionLabel.TabIndex = 19; 218 this.exceptionLabel.Text = "Exception:"; 219 // 220 // executionTimeLabel 221 // 222 this.executionTimeLabel.AutoSize = true; 223 this.executionTimeLabel.Location = new System.Drawing.Point(7, 41); 224 this.executionTimeLabel.Name = "executionTimeLabel"; 225 this.executionTimeLabel.Size = new System.Drawing.Size(80, 13); 226 this.executionTimeLabel.TabIndex = 13; 227 this.executionTimeLabel.Text = "ExecutionTime:"; 228 // 229 // dateCreatedTextBox 230 // 231 this.dateCreatedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 232 | System.Windows.Forms.AnchorStyles.Right))); 233 this.dateCreatedTextBox.Location = new System.Drawing.Point(95, 63); 234 this.dateCreatedTextBox.Name = "dateCreatedTextBox"; 235 this.dateCreatedTextBox.Size = new System.Drawing.Size(509, 20); 236 this.dateCreatedTextBox.TabIndex = 5; 237 // 238 // executionTimeTextBox 239 // 240 this.executionTimeTextBox.Location = new System.Drawing.Point(95, 41); 241 this.executionTimeTextBox.Name = "executionTimeTextBox"; 242 this.executionTimeTextBox.Size = new System.Drawing.Size(509, 20); 243 this.executionTimeTextBox.TabIndex = 4; 244 // 245 // dateFinishedTextBox 246 // 247 this.dateFinishedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 248 | System.Windows.Forms.AnchorStyles.Right))); 249 this.dateFinishedTextBox.Location = new System.Drawing.Point(95, 107); 250 this.dateFinishedTextBox.Name = "dateFinishedTextBox"; 251 this.dateFinishedTextBox.Size = new System.Drawing.Size(509, 20); 252 this.dateFinishedTextBox.TabIndex = 6; 253 // 254 // dateCalculatedText 255 // 256 this.dateCalculatedText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 257 | System.Windows.Forms.AnchorStyles.Right))); 258 this.dateCalculatedText.Location = new System.Drawing.Point(95, 85); 259 this.dateCalculatedText.Name = "dateCalculatedText"; 260 this.dateCalculatedText.Size = new System.Drawing.Size(509, 20); 261 this.dateCalculatedText.TabIndex = 22; 262 // 263 // stateLabel 264 // 265 this.stateLabel.AutoSize = true; 266 this.stateLabel.Location = new System.Drawing.Point(7, 19); 267 this.stateLabel.Name = "stateLabel"; 268 this.stateLabel.Size = new System.Drawing.Size(35, 13); 269 this.stateLabel.TabIndex = 0; 270 this.stateLabel.Text = "State:"; 271 // 272 // dateCalculatedLabel 273 // 274 this.dateCalculatedLabel.AutoSize = true; 275 this.dateCalculatedLabel.Location = new System.Drawing.Point(7, 85); 276 this.dateCalculatedLabel.Name = "dateCalculatedLabel"; 277 this.dateCalculatedLabel.Size = new System.Drawing.Size(83, 13); 278 this.dateCalculatedLabel.TabIndex = 23; 279 this.dateCalculatedLabel.Text = "DateCalculated:"; 280 // 281 // stateTextBox 282 // 283 this.stateTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 284 | System.Windows.Forms.AnchorStyles.Right))); 285 this.stateTextBox.Location = new System.Drawing.Point(95, 19); 286 this.stateTextBox.Name = "stateTextBox"; 287 this.stateTextBox.Size = new System.Drawing.Size(509, 20); 288 this.stateTextBox.TabIndex = 2; 289 // 290 // jobIdTextBox 291 // 292 this.jobIdTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 293 | System.Windows.Forms.AnchorStyles.Right))); 294 this.jobIdTextBox.Location = new System.Drawing.Point(91, 6); 295 this.jobIdTextBox.Name = "jobIdTextBox"; 296 this.jobIdTextBox.Size = new System.Drawing.Size(525, 20); 297 this.jobIdTextBox.TabIndex = 26; 298 // 299 // jobIdLabel 300 // 301 this.jobIdLabel.AutoSize = true; 302 this.jobIdLabel.Location = new System.Drawing.Point(3, 6); 303 this.jobIdLabel.Name = "jobIdLabel"; 304 this.jobIdLabel.Size = new System.Drawing.Size(36, 13); 305 this.jobIdLabel.TabIndex = 25; 306 this.jobIdLabel.Text = "JobId:"; 256 307 // 257 308 // configurationGroupBox … … 274 325 this.configurationGroupBox.Text = "Configuration"; 275 326 // 276 // priorityTextBox277 //278 this.priorityTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)279 | System.Windows.Forms.AnchorStyles.Right)));280 this.priorityTextBox.Location = new System.Drawing.Point(108, 66);281 this.priorityTextBox.Name = "priorityTextBox";282 this.priorityTextBox.Size = new System.Drawing.Size(496, 20);283 this.priorityTextBox.TabIndex = 41;284 //285 // priorityLabel286 //287 this.priorityLabel.AutoSize = true;288 this.priorityLabel.Location = new System.Drawing.Point(7, 66);289 this.priorityLabel.Name = "priorityLabel";290 this.priorityLabel.Size = new System.Drawing.Size(41, 13);291 this.priorityLabel.TabIndex = 42;292 this.priorityLabel.Text = "Priority:";293 //294 // coresNeededTextBox295 //296 this.coresNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)297 | System.Windows.Forms.AnchorStyles.Right)));298 this.coresNeededTextBox.Location = new System.Drawing.Point(108, 20);299 this.coresNeededTextBox.Name = "coresNeededTextBox";300 this.coresNeededTextBox.Size = new System.Drawing.Size(496, 20);301 this.coresNeededTextBox.TabIndex = 37;302 //303 // memoryNeededTextBox304 //305 this.memoryNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)306 | System.Windows.Forms.AnchorStyles.Right)));307 this.memoryNeededTextBox.Location = new System.Drawing.Point(108, 42);308 this.memoryNeededTextBox.Name = "memoryNeededTextBox";309 this.memoryNeededTextBox.Size = new System.Drawing.Size(496, 20);310 this.memoryNeededTextBox.TabIndex = 38;311 //312 // memoryNeededLabel313 //314 this.memoryNeededLabel.AutoSize = true;315 this.memoryNeededLabel.Location = new System.Drawing.Point(7, 42);316 this.memoryNeededLabel.Name = "memoryNeededLabel";317 this.memoryNeededLabel.Size = new System.Drawing.Size(85, 13);318 this.memoryNeededLabel.TabIndex = 40;319 this.memoryNeededLabel.Text = "MemoryNeeded:";320 //321 // coresNeededLabel322 //323 this.coresNeededLabel.AutoSize = true;324 this.coresNeededLabel.Location = new System.Drawing.Point(7, 20);325 this.coresNeededLabel.Name = "coresNeededLabel";326 this.coresNeededLabel.Size = new System.Drawing.Size(75, 13);327 this.coresNeededLabel.TabIndex = 39;328 this.coresNeededLabel.Text = "CoresNeeded:";329 //330 // computeInParallelLabel331 //332 this.computeInParallelLabel.AutoSize = true;333 this.computeInParallelLabel.Location = new System.Drawing.Point(7, 93);334 this.computeInParallelLabel.Name = "computeInParallelLabel";335 this.computeInParallelLabel.Size = new System.Drawing.Size(95, 13);336 this.computeInParallelLabel.TabIndex = 36;337 this.computeInParallelLabel.Text = "ComputeInParallel:";338 //339 327 // computeInParallelCheckBox 340 328 // … … 347 335 this.computeInParallelCheckBox.CheckedChanged += new System.EventHandler(this.computeInParallelCheckBox_CheckedChanged); 348 336 // 349 // jobIdLabel 350 // 351 this.jobIdLabel.AutoSize = true; 352 this.jobIdLabel.Location = new System.Drawing.Point(3, 6); 353 this.jobIdLabel.Name = "jobIdLabel"; 354 this.jobIdLabel.Size = new System.Drawing.Size(36, 13); 355 this.jobIdLabel.TabIndex = 25; 356 this.jobIdLabel.Text = "JobId:"; 357 // 358 // jobIdTextBox 359 // 360 this.jobIdTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 361 | System.Windows.Forms.AnchorStyles.Right))); 362 this.jobIdTextBox.Location = new System.Drawing.Point(91, 6); 363 this.jobIdTextBox.Name = "jobIdTextBox"; 364 this.jobIdTextBox.Size = new System.Drawing.Size(525, 20); 365 this.jobIdTextBox.TabIndex = 26; 366 // 367 // childJobsTabPage 368 // 369 this.childJobsTabPage.Controls.Add(this.childHiveJobView); 370 this.childJobsTabPage.Location = new System.Drawing.Point(4, 22); 371 this.childJobsTabPage.Name = "childJobsTabPage"; 372 this.childJobsTabPage.Size = new System.Drawing.Size(619, 492); 373 this.childJobsTabPage.TabIndex = 2; 374 this.childJobsTabPage.Text = "Child Jobs"; 375 this.childJobsTabPage.UseVisualStyleBackColor = true; 376 // 377 // runsTabPage 378 // 379 this.runsTabPage.Controls.Add(this.runCollectionViewHost); 380 this.runsTabPage.Location = new System.Drawing.Point(4, 22); 381 this.runsTabPage.Name = "runsTabPage"; 382 this.runsTabPage.Size = new System.Drawing.Size(619, 492); 383 this.runsTabPage.TabIndex = 4; 384 this.runsTabPage.Text = "Runs"; 385 this.runsTabPage.UseVisualStyleBackColor = true; 386 // 387 // runCollectionViewHost 388 // 389 this.runCollectionViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 337 // computeInParallelLabel 338 // 339 this.computeInParallelLabel.AutoSize = true; 340 this.computeInParallelLabel.Location = new System.Drawing.Point(7, 93); 341 this.computeInParallelLabel.Name = "computeInParallelLabel"; 342 this.computeInParallelLabel.Size = new System.Drawing.Size(95, 13); 343 this.computeInParallelLabel.TabIndex = 36; 344 this.computeInParallelLabel.Text = "ComputeInParallel:"; 345 // 346 // coresNeededLabel 347 // 348 this.coresNeededLabel.AutoSize = true; 349 this.coresNeededLabel.Location = new System.Drawing.Point(7, 20); 350 this.coresNeededLabel.Name = "coresNeededLabel"; 351 this.coresNeededLabel.Size = new System.Drawing.Size(75, 13); 352 this.coresNeededLabel.TabIndex = 39; 353 this.coresNeededLabel.Text = "CoresNeeded:"; 354 // 355 // memoryNeededLabel 356 // 357 this.memoryNeededLabel.AutoSize = true; 358 this.memoryNeededLabel.Location = new System.Drawing.Point(7, 42); 359 this.memoryNeededLabel.Name = "memoryNeededLabel"; 360 this.memoryNeededLabel.Size = new System.Drawing.Size(85, 13); 361 this.memoryNeededLabel.TabIndex = 40; 362 this.memoryNeededLabel.Text = "MemoryNeeded:"; 363 // 364 // memoryNeededTextBox 365 // 366 this.memoryNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 367 | System.Windows.Forms.AnchorStyles.Right))); 368 this.memoryNeededTextBox.Location = new System.Drawing.Point(108, 42); 369 this.memoryNeededTextBox.Name = "memoryNeededTextBox"; 370 this.memoryNeededTextBox.Size = new System.Drawing.Size(496, 20); 371 this.memoryNeededTextBox.TabIndex = 38; 372 // 373 // coresNeededTextBox 374 // 375 this.coresNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 376 | System.Windows.Forms.AnchorStyles.Right))); 377 this.coresNeededTextBox.Location = new System.Drawing.Point(108, 20); 378 this.coresNeededTextBox.Name = "coresNeededTextBox"; 379 this.coresNeededTextBox.Size = new System.Drawing.Size(496, 20); 380 this.coresNeededTextBox.TabIndex = 37; 381 // 382 // priorityLabel 383 // 384 this.priorityLabel.AutoSize = true; 385 this.priorityLabel.Location = new System.Drawing.Point(7, 66); 386 this.priorityLabel.Name = "priorityLabel"; 387 this.priorityLabel.Size = new System.Drawing.Size(41, 13); 388 this.priorityLabel.TabIndex = 42; 389 this.priorityLabel.Text = "Priority:"; 390 // 391 // priorityTextBox 392 // 393 this.priorityTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 394 | System.Windows.Forms.AnchorStyles.Right))); 395 this.priorityTextBox.Location = new System.Drawing.Point(108, 66); 396 this.priorityTextBox.Name = "priorityTextBox"; 397 this.priorityTextBox.Size = new System.Drawing.Size(496, 20); 398 this.priorityTextBox.TabIndex = 41; 399 // 400 // optimizerGroupBox 401 // 402 this.optimizerGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 403 | System.Windows.Forms.AnchorStyles.Right))); 404 this.optimizerGroupBox.Controls.Add(this.optimizerNamedItemView); 405 this.optimizerGroupBox.Location = new System.Drawing.Point(6, 29); 406 this.optimizerGroupBox.Name = "optimizerGroupBox"; 407 this.optimizerGroupBox.Size = new System.Drawing.Size(610, 74); 408 this.optimizerGroupBox.TabIndex = 28; 409 this.optimizerGroupBox.TabStop = false; 410 this.optimizerGroupBox.Text = "Optimizer"; 411 // 412 // optimizerNamedItemView 413 // 414 this.optimizerNamedItemView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 415 | System.Windows.Forms.AnchorStyles.Right))); 416 this.optimizerNamedItemView.Caption = "NamedItem View"; 417 this.optimizerNamedItemView.Content = null; 418 this.optimizerNamedItemView.Location = new System.Drawing.Point(6, 20); 419 this.optimizerNamedItemView.Name = "optimizerNamedItemView"; 420 this.optimizerNamedItemView.ReadOnly = false; 421 this.optimizerNamedItemView.Size = new System.Drawing.Size(598, 51); 422 this.optimizerNamedItemView.TabIndex = 0; 423 // 424 // tabControl 425 // 426 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 390 427 | System.Windows.Forms.AnchorStyles.Left) 391 428 | System.Windows.Forms.AnchorStyles.Right))); 392 this.runCollectionViewHost.Caption = "View"; 393 this.runCollectionViewHost.Content = null; 394 this.runCollectionViewHost.Enabled = false; 395 this.runCollectionViewHost.Location = new System.Drawing.Point(3, 3); 396 this.runCollectionViewHost.Name = "runCollectionViewHost"; 397 this.runCollectionViewHost.ReadOnly = false; 398 this.runCollectionViewHost.Size = new System.Drawing.Size(613, 486); 399 this.runCollectionViewHost.TabIndex = 0; 400 this.runCollectionViewHost.ViewsLabelVisible = true; 401 this.runCollectionViewHost.ViewType = null; 402 // 403 // stateLogTabPage 404 // 405 this.stateLogTabPage.Controls.Add(this.stateLogViewHost); 406 this.stateLogTabPage.Location = new System.Drawing.Point(4, 22); 407 this.stateLogTabPage.Name = "stateLogTabPage"; 408 this.stateLogTabPage.Size = new System.Drawing.Size(619, 492); 409 this.stateLogTabPage.TabIndex = 5; 410 this.stateLogTabPage.Text = "StateLog"; 411 this.stateLogTabPage.UseVisualStyleBackColor = true; 412 // 413 // stateLogViewHost 414 // 415 this.stateLogViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 416 | System.Windows.Forms.AnchorStyles.Left) 417 | System.Windows.Forms.AnchorStyles.Right))); 418 this.stateLogViewHost.Caption = "View"; 419 this.stateLogViewHost.Content = null; 420 this.stateLogViewHost.Enabled = false; 421 this.stateLogViewHost.Location = new System.Drawing.Point(0, 0); 422 this.stateLogViewHost.Name = "stateLogViewHost"; 423 this.stateLogViewHost.ReadOnly = false; 424 this.stateLogViewHost.Size = new System.Drawing.Size(619, 492); 425 this.stateLogViewHost.TabIndex = 0; 426 this.stateLogViewHost.ViewsLabelVisible = true; 427 this.stateLogViewHost.ViewType = null; 428 // 429 // logTabPage 430 // 431 this.logTabPage.Controls.Add(this.logView); 432 this.logTabPage.Location = new System.Drawing.Point(4, 22); 433 this.logTabPage.Name = "logTabPage"; 434 this.logTabPage.Padding = new System.Windows.Forms.Padding(3); 435 this.logTabPage.Size = new System.Drawing.Size(619, 492); 436 this.logTabPage.TabIndex = 1; 437 this.logTabPage.Text = "Log"; 438 this.logTabPage.UseVisualStyleBackColor = true; 439 // 440 // logView 441 // 442 this.logView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 443 | System.Windows.Forms.AnchorStyles.Left) 444 | System.Windows.Forms.AnchorStyles.Right))); 445 this.logView.Caption = "Log View"; 446 this.logView.Content = null; 447 this.logView.Location = new System.Drawing.Point(3, 3); 448 this.logView.Name = "logView"; 449 this.logView.ReadOnly = false; 450 this.logView.Size = new System.Drawing.Size(613, 486); 451 this.logView.TabIndex = 0; 452 // 453 // childHiveJobView 454 // 455 this.childHiveJobView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 456 | System.Windows.Forms.AnchorStyles.Left) 457 | System.Windows.Forms.AnchorStyles.Right))); 458 this.childHiveJobView.Caption = "JobItemList View"; 459 this.childHiveJobView.Content = null; 460 this.childHiveJobView.Location = new System.Drawing.Point(3, 3); 461 this.childHiveJobView.Name = "childHiveJobView"; 462 this.childHiveJobView.ReadOnly = false; 463 this.childHiveJobView.Size = new System.Drawing.Size(613, 486); 464 this.childHiveJobView.TabIndex = 0; 429 this.tabControl.Controls.Add(this.detailsTabPage); 430 this.tabControl.Controls.Add(this.stateLogTabPage); 431 this.tabControl.Controls.Add(this.runsTabPage); 432 this.tabControl.Controls.Add(this.logTabPage); 433 this.tabControl.Location = new System.Drawing.Point(3, 3); 434 this.tabControl.Name = "tabControl"; 435 this.tabControl.SelectedIndex = 0; 436 this.tabControl.Size = new System.Drawing.Size(627, 518); 437 this.tabControl.TabIndex = 25; 465 438 // 466 439 // HiveJobView … … 471 444 this.Name = "HiveJobView"; 472 445 this.Size = new System.Drawing.Size(633, 524); 446 this.logTabPage.ResumeLayout(false); 447 this.stateLogTabPage.ResumeLayout(false); 448 this.runsTabPage.ResumeLayout(false); 449 this.detailsTabPage.ResumeLayout(false); 450 this.detailsTabPage.PerformLayout(); 473 451 this.jobStatusGroupBox.ResumeLayout(false); 474 452 this.jobStatusGroupBox.PerformLayout(); 475 this.tabControl.ResumeLayout(false);476 this.detailsTabPage.ResumeLayout(false);477 this.detailsTabPage.PerformLayout();478 this.optimizerGroupBox.ResumeLayout(false);479 453 this.configurationGroupBox.ResumeLayout(false); 480 454 this.configurationGroupBox.PerformLayout(); 481 this.childJobsTabPage.ResumeLayout(false); 482 this.runsTabPage.ResumeLayout(false); 483 this.stateLogTabPage.ResumeLayout(false); 484 this.logTabPage.ResumeLayout(false); 455 this.optimizerGroupBox.ResumeLayout(false); 456 this.tabControl.ResumeLayout(false); 485 457 this.ResumeLayout(false); 486 458 … … 489 461 #endregion 490 462 491 private System.Windows.Forms.Label stateLabel;492 private System.Windows.Forms.TextBox stateTextBox;493 private System.Windows.Forms.TextBox executionTimeTextBox;494 private System.Windows.Forms.TextBox dateCreatedTextBox;495 private System.Windows.Forms.TextBox dateFinishedTextBox;496 private System.Windows.Forms.TextBox exceptionTextBox;497 private System.Windows.Forms.Label executionTimeLabel;498 private System.Windows.Forms.Label dateCreatedLabel;499 private System.Windows.Forms.Label dateFinishedLabel;500 private System.Windows.Forms.Label exceptionLabel;501 private System.Windows.Forms.TextBox dateCalculatedText;502 private System.Windows.Forms.Label dateCalculatedLabel;503 private System.Windows.Forms.GroupBox jobStatusGroupBox;504 private System.Windows.Forms.TabControl tabControl;505 private System.Windows.Forms.TabPage detailsTabPage;506 463 private System.Windows.Forms.TabPage logTabPage; 507 464 private Core.Views.LogView logView; 508 private System.Windows.Forms.Label jobIdLabel; 509 private System.Windows.Forms.TextBox jobIdTextBox; 510 private System.Windows.Forms.TabPage childJobsTabPage; 465 private System.Windows.Forms.TabPage stateLogTabPage; 466 private MainForm.WindowsForms.ViewHost stateLogViewHost; 467 private System.Windows.Forms.TabPage runsTabPage; 468 private MainForm.WindowsForms.ViewHost runCollectionViewHost; 469 private System.Windows.Forms.TabPage detailsTabPage; 470 private System.Windows.Forms.GroupBox optimizerGroupBox; 471 private Core.Views.NamedItemView optimizerNamedItemView; 511 472 private System.Windows.Forms.GroupBox configurationGroupBox; 512 473 private System.Windows.Forms.TextBox priorityTextBox; … … 518 479 private System.Windows.Forms.Label computeInParallelLabel; 519 480 private System.Windows.Forms.CheckBox computeInParallelCheckBox; 520 private System.Windows.Forms.GroupBox optimizerGroupBox; 521 private Core.Views.NamedItemView optimizerNamedItemView; 522 private System.Windows.Forms.TabPage runsTabPage; 523 private MainForm.WindowsForms.ViewHost runCollectionViewHost; 524 private System.Windows.Forms.TabPage stateLogTabPage; 525 private MainForm.WindowsForms.ViewHost stateLogViewHost; 526 private HiveJobListView childHiveJobView; 481 private System.Windows.Forms.Label jobIdLabel; 482 private System.Windows.Forms.TextBox jobIdTextBox; 483 private System.Windows.Forms.GroupBox jobStatusGroupBox; 484 private System.Windows.Forms.TextBox stateTextBox; 485 private System.Windows.Forms.Label dateCalculatedLabel; 486 private System.Windows.Forms.Label stateLabel; 487 private System.Windows.Forms.TextBox dateCalculatedText; 488 private System.Windows.Forms.TextBox dateFinishedTextBox; 489 private System.Windows.Forms.TextBox executionTimeTextBox; 490 private System.Windows.Forms.TextBox dateCreatedTextBox; 491 private System.Windows.Forms.Label executionTimeLabel; 492 private System.Windows.Forms.Label exceptionLabel; 493 private System.Windows.Forms.Label dateCreatedLabel; 494 private System.Windows.Forms.Label dateFinishedLabel; 495 private System.Windows.Forms.TextBox exceptionTextBox; 496 private System.Windows.Forms.TabControl tabControl; 497 527 498 } 528 499 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/StateLogGanttChartListView.cs
r5636 r5718 23 23 using System.Drawing; 24 24 using System.Linq; 25 using HeuristicLab.Core;26 25 using HeuristicLab.Core.Views; 27 26 using HeuristicLab.MainForm; … … 29 28 namespace HeuristicLab.Clients.Hive.Views { 30 29 [View("StateLogGanttChartList View")] 31 [Content(typeof( IItemList<StateLogList>), IsDefaultView =true)]30 [Content(typeof(StateLogListList), true)] 32 31 public sealed partial class StateLogGanttChartListView : ItemView { 33 public new IItemList<StateLogList>Content {34 get { return ( IItemList<StateLogList>)base.Content; }32 public new StateLogListList Content { 33 get { return (StateLogListList)base.Content; } 35 34 set { base.Content = value; } 36 35 } … … 89 88 } 90 89 91 //private void AddData(int i, int j, DateTime upperLimit) {92 // DateTime until = j < Content[i].Count - 1 ? Content[i][j + 1].DateTime : upperLimit;93 // TimeSpan duration = until - Content[i][j].DateTime;94 // string tooltip = string.Format("State: {0}\nDuration: {1}\n{2} - {3}", Content[i][j].State, Content[i][j].DateTime, duration, until);95 // if (!string.IsNullOrEmpty(Content[i][j].Exception))96 // tooltip += "\n" + Content[i][j].Exception;97 // ganttChart.AddData(i + 1, Content[i][j].State.ToString(), Content[i][j].DateTime, until, tooltip, false);98 //}99 100 90 public static void AddData(GanttChart ganttChart, string name, StateLog from, StateLog to, DateTime upperLimit) { 101 91 DateTime until = to != null ? to.DateTime : upperLimit; 102 92 TimeSpan duration = until - from.DateTime; 103 string tooltip = string.Format("State: {0}\nDuration: {1}\n{2} - {3}", from.State, from.DateTime, duration, until);93 string tooltip = string.Format("State: {0}\nDuration: {1}\n{2} - {3}", from.State, duration, from.DateTime, until); 104 94 if (!string.IsNullOrEmpty(from.Exception)) 105 95 tooltip += "\n" + from.Exception; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/StateLogGanttChartView.cs
r5636 r5718 21 21 22 22 using System; 23 using System.Linq; 23 24 using HeuristicLab.Core.Views; 24 25 using HeuristicLab.MainForm; … … 26 27 namespace HeuristicLab.Clients.Hive.Views { 27 28 [View("StateLogGanttChart View")] 28 [Content(typeof(StateLogList), IsDefaultView = false)]29 [Content(typeof(StateLogList), IsDefaultView = true)] 29 30 public sealed partial class StateLogGanttChartView : ItemView { 30 31 public new StateLogList Content { … … 60 61 ganttChart.Reset(); 61 62 StateLogGanttChartListView.SetupCategories(ganttChart); 62 var upperLimit = DateTime. Now.AddSeconds(10);63 63 var upperLimit = DateTime.FromOADate(Math.Min(Content.Max(x => x.DateTime).ToOADate(), DateTime.Now.AddSeconds(10).ToOADate())); 64 64 65 for (int i = 0; i < Content.Count-1; i++) { 65 //string tooltip = string.Format("State: {0}\n{1} - {2}", Content[i].State, Content[i].DateTime, Content[i + 1].DateTime);66 //if (!string.IsNullOrEmpty(Content[i].Exception))67 // tooltip += "\n" + Content[i].Exception;68 //ganttChart.AddData(Content[i].State.ToString(), Content[i].State.ToString(), Content[i].DateTime, Content[i + 1].DateTime, tooltip, false);69 66 StateLogGanttChartListView.AddData(ganttChart, i.ToString(), Content[i], Content[i+1], upperLimit); 70 67 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/HeuristicLab.Clients.Hive.Views-3.4.csproj
r5638 r5718 157 157 <DependentUpon>UpdateControl.cs</DependentUpon> 158 158 </Compile> 159 <Compile Include="ExperimentManager\StateLogListList.cs" /> 159 160 <Compile Include="ExperimentManager\ItemTreeView.cs"> 160 161 <SubType>UserControl</SubType> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager/HiveExperimentClient.cs
r5675 r5718 28 28 using HeuristicLab.Core; 29 29 using HeuristicLab.Optimization; 30 using HeuristicLab.Tracing;31 30 32 31 namespace HeuristicLab.Clients.Hive { … … 298 297 string configFilePath = ConfigurationManager.OpenExeConfiguration(exeFilePath).FilePath; 299 298 300 301 299 Plugin configPlugin = new Plugin() { 302 300 Name = "Configuration", … … 343 341 this.progress.ProgressValue = (double)jobCount / totalJobCount; 344 342 345 hiveJob.Job.SetState(JobState.Transferring); 343 //service.UpdateJobState(hiveJob.Job.Id, JobState.Transferring, null, null, null); 344 346 345 if (parentHiveJob != null) { 347 346 hiveJob.Job.Id = service.AddChildJob(parentHiveJob.Job.Id, hiveJob.Job, jobData); … … 349 348 hiveJob.Job.Id = service.AddJob(hiveJob.Job, jobData, groups.ToList()); 350 349 } 351 352 350 LogMessage(hiveJob.Job.Id, "Job sent to Hive"); 353 351 … … 579 577 lock (locker) { 580 578 log.LogMessage(message); 581 Logger.Debug(message);582 579 } 583 580 } … … 639 636 640 637 641 if (this.HiveJob.Job.DateFinished.HasValue ) {642 this.ExecutionTime = this.HiveJob.Job.DateFinished.Value - this.HiveJob.Job.DateCreated ;638 if (this.HiveJob.Job.DateFinished.HasValue && this.HiveJob.Job.DateCreated.HasValue) { 639 this.ExecutionTime = this.HiveJob.Job.DateFinished.Value - this.HiveJob.Job.DateCreated.Value; 643 640 this.lastUpdateTime = this.HiveJob.Job.DateFinished.Value; 644 641 this.ExecutionState = Core.ExecutionState.Stopped; 645 642 OnStopped(); 646 643 } else { 647 this.ExecutionTime = DateTime.Now - this.HiveJob.Job.DateCreated;644 this.ExecutionTime = this.HiveJob.Job.DateCreated.HasValue ? DateTime.Now - this.HiveJob.Job.DateCreated.Value : TimeSpan.Zero; 648 645 this.lastUpdateTime = DateTime.Now; 649 646 this.ExecutionState = Core.ExecutionState.Started; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager/HiveJobClient.cs
r5675 r5718 108 108 MemoryNeeded = 0 109 109 }; 110 job.S etState(JobState.Offline);110 job.State = JobState.Offline; 111 111 this.childHiveJobs = new ItemList<HiveJob>(); 112 112 syncJobsWithOptimizers = true; … … 157 157 private void UpdateChildHiveJobs() { 158 158 if (Job != null && syncJobsWithOptimizers) { 159 if (OptimizerJob.Optimizer is Optimization.Experiment) { 160 Optimization.Experiment experiment = (Optimization.Experiment)OptimizerJob.Optimizer; 161 foreach (IOptimizer childOpt in experiment.Optimizers) { 162 this.childHiveJobs.Add(new HiveJob(childOpt)); 163 } 164 } else if (OptimizerJob.Optimizer is Optimization.BatchRun) { 165 Optimization.BatchRun batchRun = OptimizerJob.OptimizerAsBatchRun; 166 if (batchRun.Optimizer != null) { 167 while (this.childHiveJobs.Count < batchRun.Repetitions) { 168 this.childHiveJobs.Add(new HiveJob(batchRun.Optimizer)); 159 if (!OptimizerJob.ComputeInParallel) { 160 this.childHiveJobs.Clear(); 161 } else { 162 if (OptimizerJob.Optimizer is Optimization.Experiment) { 163 Optimization.Experiment experiment = (Optimization.Experiment)OptimizerJob.Optimizer; 164 foreach (IOptimizer childOpt in experiment.Optimizers) { 165 this.childHiveJobs.Add(new HiveJob(childOpt)); 169 166 } 170 while (this.childHiveJobs.Count > batchRun.Repetitions) { 171 this.childHiveJobs.Remove(this.childHiveJobs.Last()); 167 } else if (OptimizerJob.Optimizer is Optimization.BatchRun) { 168 Optimization.BatchRun batchRun = OptimizerJob.OptimizerAsBatchRun; 169 if (batchRun.Optimizer != null) { 170 while (this.childHiveJobs.Count < batchRun.Repetitions) { 171 this.childHiveJobs.Add(new HiveJob(batchRun.Optimizer)); 172 } 173 while (this.childHiveJobs.Count > batchRun.Repetitions) { 174 this.childHiveJobs.Remove(this.childHiveJobs.Last()); 175 } 172 176 } 173 177 } … … 224 228 private void batchRun_OptimizerChanged(object sender, EventArgs e) { 225 229 if (syncJobsWithOptimizers) { 226 this.childHiveJobs.Clear();227 230 UpdateChildHiveJobs(); 228 231 } … … 277 280 private void OptimizerJob_ComputeInParallelChanged(object sender, EventArgs e) { 278 281 if (OptimizerJob != null && syncJobsWithOptimizers) { 279 if (OptimizerJob.ComputeInParallel) { 280 // child-hive jobs are not yet created, so create them according to the child-optimizers 281 this.UpdateChildHiveJobs(); 282 } else { 283 // child-hive jobs need to be deleted 284 this.childHiveJobs.Clear(); 285 } 282 this.UpdateChildHiveJobs(); 286 283 } 287 284 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/HeuristicLab.Clients.Hive-3.4.csproj
r5638 r5718 96 96 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 97 97 <HintPath>..\..\..\..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 98 </Reference>99 <Reference Include="HeuristicLab.Tracing-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">100 <SpecificVersion>False</SpecificVersion>101 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Tracing-3.3.dll</HintPath>102 98 </Reference> 103 99 <Reference Include="System" /> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/HiveItem.cs
r5676 r5718 30 30 public partial class HiveItem : IItem { 31 31 32 public HiveItem() { 33 } 34 32 public HiveItem() { } 35 33 36 34 protected HiveItem(HiveItem original, Cloner cloner) { 35 cloner.RegisterClonedObject(original, this); 37 36 this.Id = original.Id; 38 37 } 39 38 40 public IDeepCloneable Clone(Cloner cloner) {39 public virtual IDeepCloneable Clone(Cloner cloner) { 41 40 return new HiveItem(this, cloner); 42 41 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/Job.cs
r5614 r5718 30 30 public Job() { } 31 31 32 public void SetState(JobState state) {33 this.State = state;34 this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now });35 }36 37 public void SetState(JobState state, Guid userId) {38 this.State = state;39 this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now, UserId = userId });40 }41 42 public void SetState(JobState state, Guid slaveId, string exception) {43 this.State = state;44 this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now, SlaveId = slaveId, Exception = exception });45 }46 47 32 protected Job(Job original, Cloner cloner) { 48 33 this.Priority = original.Priority; … … 60 45 } 61 46 62 public IDeepCloneable Clone(Cloner cloner) {47 public override IDeepCloneable Clone(Cloner cloner) { 63 48 return new Job(this, cloner); 64 49 } 65 50 66 public object Clone() {67 return Clone(new Cloner());68 }69 70 51 public override string ToString() { 71 return string.Format("State: {0}, SlaveId: {1}, DateCreated: {2}, DateCalculated: {3}, CoresNeeded: {4}, MemoryNeeded: {5}", State, CurrentStateLog.SlaveId, DateCreated , CoresNeeded, MemoryNeeded);52 return string.Format("State: {0}, SlaveId: {1}, DateCreated: {2}, DateCalculated: {3}, CoresNeeded: {4}, MemoryNeeded: {5}", State, CurrentStateLog.SlaveId, DateCreated.HasValue ? DateCreated.ToString() : "-", CoresNeeded, MemoryNeeded); 72 53 } 73 54 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/LightweightJob.cs
r5614 r5718 28 28 29 29 public partial class LightweightJob : IDeepCloneable, IContent { 30 public StateLog CurrentStateLog { get { return StateLog.LastOrDefault(); } } 31 public DateTime? DateCreated { get { return StateLog.Count > 0 ? new DateTime?(StateLog.First().DateTime) : null; } } 32 public DateTime? DateFinished { get { return (StateLog.Count > 0 && CurrentStateLog.State == JobState.Finished) ? new DateTime?(CurrentStateLog.DateTime) : null; } } 30 33 31 34 public LightweightJob() { … … 48 51 this.Id = original.Id; 49 52 } 50 public IDeepCloneable Clone(Cloner cloner) {53 public override IDeepCloneable Clone(Cloner cloner) { 51 54 return new LightweightJob(this, cloner); 52 }53 54 public object Clone() {55 return Clone(new Cloner());56 }57 58 public StateLog CurrentStateLog { get { return StateLog.Last(); } }59 public DateTime DateCreated { get { return StateLog.First().DateTime; } }60 public DateTime? DateFinished { get { return CurrentStateLog.State == JobState.Finished ? new DateTime?(CurrentStateLog.DateTime) : null; } }61 62 public void SetState(JobState state) {63 this.State = state;64 this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now });65 }66 67 public void SetState(JobState state, Guid userId) {68 this.State = state;69 this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now, UserId = userId });70 }71 72 public void SetState(JobState state, Guid slaveId, string exception) {73 this.State = state;74 this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now, SlaveId = slaveId, Exception = exception });75 55 } 76 56 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/Job.cs
r5614 r5718 46 46 this.PluginsNeededIds = new List<Guid>(); 47 47 } 48 49 50 public override string ToString() {51 return string.Format("State: {0}, SlaveId: {1}, DateCreated: {2}, DateCalculated: {3}, CoresNeeded: {4}, MemoryNeeded: {5}", State, CurrentStateLog.SlaveId, DateCreated, CoresNeeded, MemoryNeeded);52 }53 54 48 } 55 49 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/LightweightJob.cs
r5636 r5718 38 38 public JobState State { get; set; } 39 39 40 public StateLog CurrentStateLog { get { return StateLog.Last (); } }41 public DateTime DateCreated { get { return StateLog.First().DateTime; } }42 public DateTime? DateFinished { get { return CurrentStateLog.State == JobState.Finished? new DateTime?(CurrentStateLog.DateTime) : null; } }40 public StateLog CurrentStateLog { get { return StateLog.LastOrDefault(); } } 41 public DateTime? DateCreated { get { return StateLog.Count > 0 ? new DateTime?(StateLog.First().DateTime) : null; } } 42 public DateTime? DateFinished { get { return (StateLog.Count > 0 && CurrentStateLog.State == JobState.Finished) ? new DateTime?(CurrentStateLog.DateTime) : null; } } 43 43 44 44 public LightweightJob() { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HeuristicLab.Services.Hive.DataAccess-3.4.csproj
r5404 r5718 85 85 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 86 86 <HintPath>..\..\..\..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 87 </Reference>88 <Reference Include="HeuristicLab.Tracing-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">89 <SpecificVersion>False</SpecificVersion>90 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Tracing-3.3.dll</HintPath>91 87 </Reference> 92 88 <Reference Include="System" /> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HeartbeatManager.cs
r5636 r5718 4 4 using HeuristicLab.Services.Hive.Common; 5 5 using HeuristicLab.Services.Hive.Common.DataTransfer; 6 using HeuristicLab.Tracing;7 6 8 7 namespace HeuristicLab.Services.Hive { … … 73 72 // job does not exist in db 74 73 actions.Add(new MessageContainer(MessageContainer.MessageType.AbortJob, jobProgress.Key)); 75 Log ger.Error("Job does not exist in DB: " + jobProgress.Key);74 LogFactory.GetLogger(this.GetType().Namespace).Log("Job does not exist in DB: " + jobProgress.Key); 76 75 } else { 77 76 if (curJob.CurrentStateLog.SlaveId == Guid.Empty || curJob.CurrentStateLog.SlaveId != heartbeat.SlaveId) { 78 77 // assigned slave does not match heartbeat 79 78 actions.Add(new MessageContainer(MessageContainer.MessageType.AbortJob, curJob.Id)); 80 Log ger.Error("The slave " + heartbeat.SlaveId + " is not supposed to calculate Job: " + curJob);79 LogFactory.GetLogger(this.GetType().Namespace).Log("The slave " + heartbeat.SlaveId + " is not supposed to calculate Job: " + curJob); 81 80 } else { 82 81 // save job execution time -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HeuristicLab.Services.Hive-3.4.csproj
r5711 r5718 91 91 <HintPath>..\..\..\..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 92 92 </Reference> 93 <Reference Include="HeuristicLab.Tracing-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">94 <SpecificVersion>False</SpecificVersion>95 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Tracing-3.3.dll</HintPath>96 </Reference>97 93 <Reference Include="System" /> 98 94 <Reference Include="System.Core" /> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/LifecycleManager.cs
r5636 r5718 55 55 var jobs = dao.GetJobs(x => x.State == JobState.Calculating).Where(x => x.StateLog.Last().SlaveId == slaveId); 56 56 foreach (var j in jobs) { 57 j.StateLog.Add(new StateLog() { 58 State = JobState.Waiting, 59 JobId = j.Id, 60 DateTime = DateTime.Now, 61 Exception = "Slave timed out" 62 }); 63 dao.UpdateJob(j); 57 dao.UpdateJobState(j.Id, JobState.Waiting, slaveId, null, "Slave timed out"); 64 58 } 65 59 }
Note: See TracChangeset
for help on using the changeset viewer.