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

task not serializable when used it as a broadcast variable in spark application #11

Closed
h2coder opened this Issue Nov 30, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@h2coder

h2coder commented Nov 30, 2016

Hi,
Recently, i used your project in my spark application. A predictor instance is broadcast to all workers, and then the same problem occurs as in task-not-serializable-exception
And i solve the problem as the top answer in the above link, like below and add the 'Serializable' inheritance in all the member family class/interface of Predictor :

public class Predictor implements Serializable

If u have time, can u support the Serializable feature , or i can do some help.

@komiya-atsushi

This comment has been minimized.

Show comment
Hide comment
@komiya-atsushi

komiya-atsushi Dec 5, 2016

Owner

Hi,

Thank you for using the library and reporting the problem.

I just released xgboost-predictor-0.1.8 which you may be able to use on Spark.

Could you try out a new version?

Owner

komiya-atsushi commented Dec 5, 2016

Hi,

Thank you for using the library and reporting the problem.

I just released xgboost-predictor-0.1.8 which you may be able to use on Spark.

Could you try out a new version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment