Skip to content

Commit 58bfdd6

Browse files
adrian-wangrxin
authored andcommitted
[SPARK-4761] [DOC] [SQL] kryo default setting in SQL Thrift server
this is a follow up of #3621 /cc liancheng pwendell Author: Daoyuan Wang <[email protected]> Closes #6639 from adrian-wang/kryodoc and squashes the following commits: 3c4b1cf [Daoyuan Wang] [DOC] kryo default setting in SQL Thrift server (cherry picked from commit 10fc2f6) Signed-off-by: Reynold Xin <[email protected]>
1 parent b9c046f commit 58bfdd6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/configuration.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ Apart from these, the following properties are also available, and may be useful
618618
</tr>
619619
<tr>
620620
<td><code>spark.kryo.referenceTracking</code></td>
621-
<td>true</td>
621+
<td>true (false when using Spark SQL Thrift Server)</td>
622622
<td>
623623
Whether to track references to the same object when serializing data with Kryo, which is
624624
necessary if your object graphs have loops and useful for efficiency if they contain multiple
@@ -679,7 +679,10 @@ Apart from these, the following properties are also available, and may be useful
679679
</tr>
680680
<tr>
681681
<td><code>spark.serializer</code></td>
682-
<td>org.apache.spark.serializer.<br />JavaSerializer</td>
682+
<td>
683+
org.apache.spark.serializer.<br />JavaSerializer (org.apache.spark.serializer.<br />
684+
KryoSerializer when using Spark SQL Thrift Server)
685+
</td>
683686
<td>
684687
Class to use for serializing objects that will be sent over the network or need to be cached
685688
in serialized form. The default of Java serialization works with any Serializable Java object

0 commit comments

Comments
 (0)