[
https://issues.apache.org/jira/browse/SPARK-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14334039#comment-14334039
]
Sandy Ryza commented on SPARK-5490:
-----------------------------------
The relevant JIRA is SPARK-732, but it's marked as "Won't Fix", so it's unclear
whether that's the solution.
> KMeans costs can be incorrect if tasks need to be rerun
> -------------------------------------------------------
>
> Key: SPARK-5490
> URL: https://issues.apache.org/jira/browse/SPARK-5490
> Project: Spark
> Issue Type: Bug
> Components: MLlib
> Affects Versions: 1.3.0
> Reporter: Sandy Ryza
> Assignee: Sandy Ryza
> Labels: clustering
>
> KMeans uses accumulators to compute the cost of a clustering at each
> iteration.
> Each time a ShuffleMapTask completes, it increments the accumulators at the
> driver. If a task runs twice because of failures, the accumulators get
> incremented twice.
> KMeans uses accumulators in ShuffleMapTasks. This means that a task's cost
> can end up being double-counted.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]