Angel-ML / PyTorch-On-Angel

PyTorch On Angel, arming PyTorch with a powerful Parameter Server, which enable PyTorch to train very big models.
164 stars 51 forks source link

User class threw exception: java.lang.AbstractMethodError #25

Open leafjungle opened 3 years ago

leafjungle commented 3 years ago

21/02/04 15:13:00 ERROR ApplicationMaster: User class threw exception: java.lang.AbstractMethodError: com.tencent.angel.pytorch.graph.gcn.GCN.org$apache$spark$ml$param$Params$setter$paramMap_$eq(Lorg/apache/spark/ml/param/ParamMap;)V java.lang.AbstractMethodError: com.tencent.angel.pytorch.graph.gcn.GCN.org$apache$spark$ml$param$Params$setter$paramMap_$eq(Lorg/apache/spark/ml/param/ParamMap;)V at org.apache.spark.ml.param.Params$class.$init$(params.scala:868) at com.tencent.angel.pytorch.graph.gcn.GNN.(GNN.scala:39) at com.tencent.angel.pytorch.graph.gcn.GNN.(GNN.scala:46)

image

leafjungle commented 3 years ago

It may be caused by: the compile version and spark run version is different(class : org/apache/spark/ml/param/ParamMap).

But I have checked them. compile version:

2.11.12 2.11 spark version is: ![image](https://user-images.githubusercontent.com/6143261/106864316-a6bf0a00-6704-11eb-9b9f-4a8f41ddbb4c.png) So, I am still so confused.