Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java.lang.IllegalArgumentException: Too large frame: 5211883372140375593

Tags:

spark-submit

I submitted my code to the cluster to run, but I encountered the following error.

''' java.lang.IllegalArgumentException: Too large frame: 5211883372140375593 at org.sparkproject.guava.base.Preconditions.checkArgument(Preconditions.java:119) at org.apache.spark.network.util.TransportFrameDecoder.decodeNext(TransportFrameDecoder.java:148)

'''

and my submit command is like this

spark-submit
--master spark://172.16.244.8:6066
--deploy-mode cluster
--num-executors 3
--executor-cores 8
--executor-memory 16g
--driver-memory 2g
--conf spark.default.parallelism=10
--class ParallelComputing
hdfs://172.16.244.5:9000/qlt/portrait-batch-0.0.1-jar-with-dependencies.jar

what is the reason

like image 749
zhicheng Avatar asked Sep 25 '20 09:09

zhicheng


1 Answers

The reason is because the version of spark does not match the version of the cluster, which can be solved by modifying the local spark version to be consistent with the cluster.

like image 179
zhicheng Avatar answered Dec 21 '22 06:12

zhicheng