Skip to content

[SPARK-6998][MLlib] Make StreamingKMeans 'Serializable' #5582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

[SPARK-6998][MLlib] Make StreamingKMeans 'Serializable' #5582

wants to merge 1 commit into from

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 <zsxwing@gmail.com>

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 <rxin@databricks.com>
@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 <zsxwing@gmail.com>

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 <rxin@databricks.com>
@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 <zsxwing@gmail.com>

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 <rxin@databricks.com>
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