Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented Apr 19, 2015

If StreamingKMeans is not Serializable, we cannot do checkpoint for applications that using StreamingKMeans. So we should make it Serializable.

@zsxwing zsxwing changed the title 'Make StreamingKMeans 'Serializable' [SPARK-6998][MLlib] Make StreamingKMeans 'Serializable' Apr 19, 2015
@SparkQA
Copy link

SparkQA commented Apr 19, 2015

Test build #30566 has finished for PR 5582 at commit 67c2a14.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.
  • This patch does not change any dependencies.

@rxin
Copy link
Contributor

rxin commented Apr 19, 2015

cc @mengxr and @jkbradley

@jkbradley
Copy link
Member

I'll take a look, but also: CC @freeman-lab

@jkbradley
Copy link
Member

I don't see a reason not to make it Serializable, but I haven't done much with streaming yet... Seems Ok to me

@rxin
Copy link
Contributor

rxin commented Apr 20, 2015

alright I'm going to merge this. if there is a problem we can always revert it. Thanks for taking a look.

@freeman-lab
Copy link
Contributor

yup, seems fine to me too, this was probably an unintentional omission, as both StreamingLinearRegressionWithSGD and StreamingLogisticRegressionWithSGD do extend Serializable

asfgit pushed a commit that referenced this pull request Apr 20, 2015
If `StreamingKMeans` is not `Serializable`, we cannot do checkpoint for applications that using `StreamingKMeans`. So we should make it `Serializable`.

Author: zsxwing <[email protected]>

Closes #5582 from zsxwing/SPARK-6998 and squashes the following commits:

67c2a14 [zsxwing] Make StreamingKMeans 'Serializable'

(cherry picked from commit fa73da0)
Signed-off-by: Reynold Xin <[email protected]>
@asfgit asfgit closed this in fa73da0 Apr 20, 2015
asfgit pushed a commit that referenced this pull request Apr 20, 2015
If `StreamingKMeans` is not `Serializable`, we cannot do checkpoint for applications that using `StreamingKMeans`. So we should make it `Serializable`.

Author: zsxwing <[email protected]>

Closes #5582 from zsxwing/SPARK-6998 and squashes the following commits:

67c2a14 [zsxwing] Make StreamingKMeans 'Serializable'

(cherry picked from commit fa73da0)
Signed-off-by: Reynold Xin <[email protected]>
@zsxwing zsxwing deleted the SPARK-6998 branch April 20, 2015 07:30
markhamstra pushed a commit to markhamstra/spark that referenced this pull request Apr 23, 2015
If `StreamingKMeans` is not `Serializable`, we cannot do checkpoint for applications that using `StreamingKMeans`. So we should make it `Serializable`.

Author: zsxwing <[email protected]>

Closes apache#5582 from zsxwing/SPARK-6998 and squashes the following commits:

67c2a14 [zsxwing] Make StreamingKMeans 'Serializable'

(cherry picked from commit fa73da0)
Signed-off-by: Reynold Xin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants