+2 votes
in HGrid247 DE by (760 points)
edited by
Pada saat running jar dari HGrid247 DE workflow yang dicompile ke engine Spark2.x RDD, ada error yang disebakan oleh: com.esotericsoftware.kryo.KryoException: java.lang.NegativeArraySizeException, bagaimana solusinya?

1 Answer

0 votes
by (1.4k points)
selected by
 
Best answer

Ini terjadi ketika Kryo's reference table melampai batas max nilai integer (integer overflow). Supaya tidak terjadi error, pada job-configurasi set spark.kryo.referenceTracking ke false tambahkan workflow dengan configurasi berikut (lihat Workflow Property di canvas menu)

 Configuration Name                                               Configuratition Value

  spark.kryo.referenceTracking                                false

Welcome to YAVA247 Community, where you can ask questions and receive answers from other members of the community.
...