Or launch the spark-shell with --conf spark.kryo.registrator=foo.bar.MyClass

2015-06-11 14:30 GMT+02:00 Igor Berman <igor.ber...@gmail.com>:

> Another option would be to close sc and open new context with your custom
> configuration
> On Jun 11, 2015 01:17, "bhomass" <bhom...@gmail.com> wrote:
>
>> you need to register using spark-default.xml as explained here
>>
>>
>> https://books.google.com/books?id=WE_GBwAAQBAJ&pg=PA239&lpg=PA239&dq=spark+shell+register+kryo+serialization&source=bl&ots=vCxgEfz1-2&sig=dHU8FY81zVoBqYIJbCFuRwyFjAw&hl=en&sa=X&ved=0CEwQ6AEwB2oVChMIn_iujpCGxgIVDZmICh3kYADW#v=onepage&q=spark%20shell%20register%20kryo%20serialization&f=false
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-spark-user-list.1001560.n3.nabble.com/How-to-set-KryoRegistrator-class-in-spark-shell-tp12498p23265.html
>> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
>> For additional commands, e-mail: user-h...@spark.apache.org
>>
>>

Reply via email to