How about this?

    Class.forName("[Lorg.apache.spark.util.collection.CompactBuffer;")

On Tue, Sep 30, 2014 at 5:33 PM, Andras Barjak
<andras.bar...@lynxanalytics.com> wrote:
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to