spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andras Barjak <andras.bar...@lynxanalytics.com>
Subject registering Array of CompactBuffer to Kryo
Date Tue, 30 Sep 2014 15:33:55 GMT
Hi,

what is the correct scala code to register an Array of this private spark
class to Kryo?

"java.lang.IllegalArgumentException: Class is not registered:
org.apache.spark.util.collection.CompactBuffer[]
Note: To register this class use:
kryo.register(org.apache.spark.util.collection.CompactBuffer[].class);"

thanks,

András Barják

Mime
View raw message