Changeset 555 for DCWoRMS/trunk/src/schedframe/scheduling/policy/local
- Timestamp:
- 11/06/12 12:52:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/schedframe/scheduling/policy/local/LocalManagementSystem.java
r497 r555 198 198 199 199 AllocationInterface<?> allocation = allocations.get(j); 200 if (allocation. isProcessing()) {200 if (allocation.getRequestedResources() == null || allocation.getRequestedResources().size() > 0) { 201 201 ExecTask exec = (ExecTask) task; 202 202 executeTask(exec, allocation.getRequestedResources()); … … 217 217 Executable exec = (Executable)task; 218 218 boolean allocationStatus = getAllocationManager().allocateResources(choosenResources); 219 if(allocationStatus == false) 219 if(allocationStatus == false){ 220 log.error("Task requires more resources than is availiable at this moment."); 220 221 return; 222 } 223 221 224 removeFromQueue(task); 222 225
Note: See TracChangeset
for help on using the changeset viewer.