Changeset 17576
- Timestamp:
- 05/29/20 13:33:05 (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Clients.Hive.Slave/3.3/Core.cs
r17180 r17576 251 251 TaskData taskData = wcfService.GetTaskData(taskId); 252 252 if (taskData == null) throw new TaskDataNotFoundException(taskId); 253 task = wcfService.Update JobState(taskId, TaskState.Calculating, null);253 task = wcfService.UpdateTaskState(taskId, TaskState.Calculating, null); 254 254 if (task == null) throw new TaskNotFoundException(taskId); 255 255 taskManager.StartTaskAsync(task, taskData); … … 268 268 } 269 269 catch (OutOfCoresException) { 270 wcfService.Update JobState(taskId, TaskState.Waiting, "No more cores available");270 wcfService.UpdateTaskState(taskId, TaskState.Waiting, "No more cores available"); 271 271 throw; 272 272 } 273 273 catch (OutOfMemoryException) { 274 wcfService.Update JobState(taskId, TaskState.Waiting, "No more memory available");274 wcfService.UpdateTaskState(taskId, TaskState.Waiting, "No more memory available"); 275 275 throw; 276 276 } 277 277 catch (Exception e) { 278 278 SlaveStatusInfo.DecrementUsedCores(usedCores); 279 wcfService.Update JobState(taskId, TaskState.Failed, e.ToString());279 wcfService.UpdateTaskState(taskId, TaskState.Failed, e.ToString()); 280 280 throw; 281 281 } … … 391 391 wcfService.UpdateTaskData(task, taskData, configManager.GetClientInfo().Id, TaskState.Failed, exception.ToString()); 392 392 } else { 393 wcfService.Update JobState(task.Id, TaskState.Failed, exception.ToString());393 wcfService.UpdateTaskState(task.Id, TaskState.Failed, exception.ToString()); 394 394 } 395 395 SlaveClientCom.Instance.LogMessage(exception.Message); … … 408 408 var slaveTask = e.Value; 409 409 var task = wcfService.GetTask(slaveTask.TaskId); 410 wcfService.Update JobState(task.Id, TaskState.Aborted, null);410 wcfService.UpdateTaskState(task.Id, TaskState.Aborted, null); 411 411 SlaveStatusInfo.DecrementUsedCores(e.Value.CoresNeeded); 412 412 } -
trunk/HeuristicLab.Clients.Hive.Slave/3.3/WcfService.cs
r17180 r17576 82 82 } 83 83 84 public Task Update JobState(Guid taskId, TaskState taskState, string exception) {84 public Task UpdateTaskState(Guid taskId, TaskState taskState, string exception) { 85 85 return CallHiveService(s => s.UpdateTaskState(taskId, taskState, ConfigManager.Instance.GetClientInfo().Id, null, exception)); 86 86 } -
trunk/Installers/HiveSlaveInstaller.nsi
r17182 r17576 46 46 SetOutPath $INSTDIR 47 47 48 File "${SLAVEBUILDPATH}\Google.Protobuf.dll" 49 File "${SLAVEBUILDPATH}\HEAL.Attic.dll" 50 File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Common-3.3.dll" 48 51 File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Hive.Slave.WindowsService.exe" 49 File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Common-3.3.dll"50 52 File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Hive.Slave.WindowsService.exe.config" 51 53 File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Hive.SlaveCore-3.3.dll" … … 82 84 83 85 nsExec::ExecToLog '"$INSTDIR\HeuristicLab.Clients.Hive.Slave.WindowsService.exe" --uninstall' 84 85 Delete $INSTDIR\HeuristicLab.Clients.Hive.Slave.WindowsService.exe86 Delete $INSTDIR\HeuristicLab.Clients.Common-3.3.dll87 Delete $INSTDIR\HeuristicLab.Clients.Hive.Slave.WindowsService.exe.config88 Delete $INSTDIR\HeuristicLab.Clients.Hive.SlaveCore-3.3.dll89 Delete $INSTDIR\HeuristicLab.Clients.Hive-3.3.dll90 Delete $INSTDIR\HeuristicLab.Collections-3.3.dll91 Delete $INSTDIR\HeuristicLab.Common.Resources-3.3.dll92 Delete $INSTDIR\HeuristicLab.Common-3.3.dll93 Delete $INSTDIR\HeuristicLab.Core-3.3.dll94 Delete $INSTDIR\HeuristicLab.Data-3.3.dll95 Delete $INSTDIR\HeuristicLab.Hive-3.3.dll96 Delete $INSTDIR\HeuristicLab.MainForm-3.3.dll97 Delete $INSTDIR\HeuristicLab.Optimization-3.3.dll98 Delete $INSTDIR\HeuristicLab.Parameters-3.3.dll99 Delete $INSTDIR\HeuristicLab.Persistence-3.3.dll100 Delete $INSTDIR\HeuristicLab.PluginInfrastructure-3.3.dll101 Delete $INSTDIR\HeuristicLab.Tracing-3.3.dll102 Delete $INSTDIR\uninstall.exe103 86 104 RMDir "$INSTDIR"87 RMDir /r "$INSTDIR" 105 88 SectionEnd 106 89
Note: See TracChangeset
for help on using the changeset viewer.