Mohit Soni created MESOS-1907:
---------------------------------

             Summary: Mesos driver core-dumps when reconcile is called with a 
null TaskStatus
                 Key: MESOS-1907
                 URL: https://issues.apache.org/jira/browse/MESOS-1907
             Project: Mesos
          Issue Type: Bug
          Components: java api
    Affects Versions: 0.20.1, 0.20.0
            Reporter: Mohit Soni


Mesos driver core-dumps if MesosSchedulerDriver's reconcile method is called 
with a Collection<TaskStatus> with atleast one null entry.

Right now, as a framework, this can be avoided by sanitizing TaskStatus 
collection before passing it on to MesosSchedulerDriver. But, to improve 
overall stability the native driver implementation should watch out for null, 
and throw a Exception (ex: IllegalArgumentException or NullPointerException) 
back to framework.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to