Skip to content

Commit 5498566

Browse files
committed
Docs update suggested by Patrick
1 parent 20e8555 commit 5498566

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/configuration.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,10 +385,11 @@ Apart from these, the following properties are also available, and may be useful
385385
<td><code>spark.kryo.registrationRequired</code></td>
386386
<td>false</td>
387387
<td>
388-
Whether to require registration with Kryo. By default false, that is if Kryo doesn't know
389-
about a class on each access it will write out the class name with the object. This makes the
390-
output larger, but provides the most convenience. For maximum performance, set to true and add
391-
required registrations.
388+
Whether to require registration with Kryo. If set to 'true', Kryo will throw an exception
389+
if an unregistered class is serialized. If set to false (the default), Kryo will write
390+
unregistered class names along with each object. Writing class names can cause
391+
significant performance overhead, so enabling this option can enforce strictly that a
392+
user has not omitted classes from registration.
392393
</td>
393394
</tr>
394395
<tr>

0 commit comments

Comments
 (0)