Jim Challenger created UIMA-3547:
------------------------------------
Summary: DUCC isSchedulable() should account for whether resources
are assigned
Key: UIMA-3547
URL: https://issues.apache.org/jira/browse/UIMA-3547
Project: UIMA
Issue Type: Bug
Components: DUCC
Reporter: Jim Challenger
Assignee: Lou DeGenaro
In DuccWorkJob the isSchedulable() method indicates whether a job is a
candidate for consideration by the scheduler. The method necessarily includes
state Completing as a job may linger for a while with resources still allocated
as it winds down. However, if a job dies before getting resources it still
goes through state Completing but is in fact NOT a candidate for consideration
by the scheduler. The isSchedulable() method should check for resources still
allocated to the job, and if the state is Completing but no resources, return
'false', not 'trus'.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)