You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tasks.forEach(function(task){varmost_space=Object.keys(mapping).reduce(function(acc,id){return(mapping[id].available_memory>mapping[acc].available_memory) ? id : acc;},devices[0].id);
Error thrown:
TypeError: Cannot read property 'id' of undefined
The text was updated successfully, but these errors were encountered:
jungkumseok
changed the title
Scheduler: First-fit algorithm throws exception for empty device list but non-empty task list
Scheduler: First-fit algorithm throws exception for empty device list
Oct 1, 2018
If the device list is empty, that part of the code should not even be executed. I think we should throw a "no solution" error if the given device list is empty
Scheduler.js:282
:devices[0]
is undefinedError thrown:
The text was updated successfully, but these errors were encountered: