Github user 10110346 commented on a diff in the pull request:
https://github.com/apache/spark/pull/17698#discussion_r112392683
--- Diff:
examples/src/main/scala/org/apache/spark/examples/LocalKMeans.scala ---
@@ -76,8 +76,8 @@ object LocalKMeans {
showWarning()
val data = generateData
- var points = new HashSet[Vector[Double]]
- var kPoints = new HashMap[Int, Vector[Double]]
+ val points = new HashSet[Vector[Double]]
--- End diff --
has reverted
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]