[ 
https://issues.apache.org/jira/browse/IGNITE-9055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anton Dmitriev updated IGNITE-9055:
-----------------------------------
    Description: 
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.

  was:
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.


> [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
>            Priority: Major
>             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