File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ in your operations) and performance. It provides two serialization libraries:
32
32
[ ` java.io.Externalizable ` ] ( http://docs.oracle.com/javase/6/docs/api/java/io/Externalizable.html ) .
33
33
Java serialization is flexible but often quite slow, and leads to large
34
34
serialized formats for many classes.
35
- * [ Kryo serialization] ( http ://code.google. com/p /kryo/ ) : Spark can also use
35
+ * [ Kryo serialization] ( https ://github. com/EsotericSoftware /kryo) : Spark can also use
36
36
the Kryo library (version 2) to serialize objects more quickly. Kryo is significantly
37
37
faster and more compact than Java serialization (often as much as 10x), but does not support all
38
38
` Serializable ` types and requires you to * register* the classes you'll use in the program in advance
@@ -68,7 +68,7 @@ conf.set("spark.kryo.registrator", "mypackage.MyRegistrator")
68
68
val sc = new SparkContext(conf)
69
69
{% endhighlight %}
70
70
71
- The [ Kryo documentation] ( http ://code.google. com/p /kryo/ ) describes more advanced
71
+ The [ Kryo documentation] ( https ://github. com/EsotericSoftware /kryo) describes more advanced
72
72
registration options, such as adding custom serialization code.
73
73
74
74
If your objects are large, you may also need to increase the ` spark.kryoserializer.buffer.mb `
You can’t perform that action at this time.
0 commit comments