Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/21/10 18:16:24 (13 years ago)
Author:
cneumuel
Message:

#1260

  • increased timeouts for sent jobs (which are needed if the jobs take long time to deserialize on slave)
  • added DeleteJob to ClientService
  • made optimizer actually Pause instead of Stop when stop is called explicitly (so they can be resumed later)
  • temporarily disabled job-abortion from server because it aborted jobs which took too long to deserialize on slaves (this issue needs to be investigated)
  • reduced locking of engines on slave so that the deserialization does not block heartbeats

#1347

  • worked on HiveEngine
  • added test project for HiveEngine
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.3/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Facades/ClientFacade.cs

    r4755 r5153  
    158158    [PrincipalPermission(SecurityAction.Demand, Role = HiveRoles.Administrator)]
    159159    [PrincipalPermission(SecurityAction.Demand, Role = HiveRoles.User)]
     160    public Response DeleteJob(Guid jobId) {
     161      using (contextFactory.GetContext()) {
     162        var jobDto = DaoLocator.JobDao.FindById(jobId);
     163        if (jobId != null) {
     164          ServiceLocator.GetAuthorizationManager().Authorize(jobDto.UserId);
     165        }
     166        return jobManager.DeleteJob(jobId);
     167      }
     168    }
     169
     170    [PrincipalPermission(SecurityAction.Demand, Role = HiveRoles.Administrator)]
     171    [PrincipalPermission(SecurityAction.Demand, Role = HiveRoles.User)]
    160172    public ResponseObject<JobDto> AddChildJob(Guid parentJobId, SerializedJob serializedJob) {
    161173      using (contextFactory.GetContext()) {
Note: See TracChangeset for help on using the changeset viewer.