Skip to content
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

GameTrainingDriver will not run #468

Open
PChambers314 opened this issue Mar 23, 2020 · 2 comments
Open

GameTrainingDriver will not run #468

PChambers314 opened this issue Mar 23, 2020 · 2 comments

Comments

@PChambers314
Copy link

When I use spark-submit class com.linkedin.photon.ml.cli.game.GameTrainingDriver , it will not run.
If I change it to spark-submit
--class com.linkedin.photon.ml.cli.game.training.GameTrainingDriver
it runs with an error message:
Exception in thread "main" java.lang.AbstractMethodError: com.linkedin.photon.ml.cli.game.training.GameTrainingDriver$.org$apache$spark$ml$param$Params$setter$paramMap_$eq(Lorg/apache/spark/ml/param/ParamMap;)V

Is there any way to fix this so that the GAME model with run?

@junshi15
Copy link

  1. you need change to com.linkedin.photon.ml.cli.game.training.GameTrainingDriver, the tutorial needs to be refreshed.
  2. can you post the command you used to launch the training? did you use photon-all_2.11/libs/photon-all_2.11-1.0.0.jar? (I compiled it with scala 2.11)

@junshi15
Copy link

I saw the same issue when I launched the job with spark 2.4.5. I suspect you were using a similar version.

The current photon-ml only compiles with spark 2.3 (it complains when compiling with spark 2.4 due to spark backward incompatibility). When you launch the job, make sure you launch with spark 2.3.x.

@cmjiang cmjiang closed this as completed Mar 24, 2020
@cmjiang cmjiang reopened this Mar 24, 2020
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

No branches or pull requests

3 participants