GameTrainingDriver will not run
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?
- you need change to
com.linkedin.photon.ml.cli.game.training.GameTrainingDriver, the tutorial needs to be refreshed. - 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)
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.