Anton Dmitriev created IGNITE-9055:
--------------------------------------

             Summary: [ML] SVM throws NPE in case of empty partitions
                 Key: IGNITE-9055
                 URL: https://issues.apache.org/jira/browse/IGNITE-9055
             Project: Ignite
          Issue Type: Bug
          Components: ml
    Affects Versions: 2.5, 2.6
            Reporter: Anton Dmitriev
             Fix For: 2.7


Method `calculateUpdates` throws NPE in case of empty partitions. Reduce 
function user in this method doesn't handle correctly empty arguments (`(a, b) 
-> a == null ? b : a.plus(b))`).

We need to fix this reduce function or update Partition Based Dataset so that 
it doesn't emit empty arguments.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to