[ https://issues.apache.org/jira/browse/IGNITE-9055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16553064#comment-16553064 ]
ASF GitHub Bot commented on IGNITE-9055: ---------------------------------------- GitHub user dmitrievanthony opened a pull request: https://github.com/apache/ignite/pull/4412 IGNITE-9055 Update Cache Based Dataset so that it ignores empty parts You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-9055 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/4412.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4412 ---- commit 2d723a675aad7e2263cea69fe0198ef118c0515b Author: Anton Dmitriev <dmitrievanthony@...> Date: 2018-07-23T16:18:59Z IGNITE-9055 Update Cache Based Dataset so that it ignores empty parts. ---- > [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 > Assignee: 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)