ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Dmitriev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-9055) [ML] SVM throws NPE in case of empty partitions
Date Mon, 23 Jul 2018 14:49:00 GMT
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)

Mime
View raw message