New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-30908][CORE][DOC] Add version information to the configuration of Kryo #27734
Conversation
@@ -22,35 +22,43 @@ import org.apache.spark.network.util.ByteUnit | |||
private[spark] object Kryo { | |||
|
|||
val KRYO_REGISTRATION_REQUIRED = ConfigBuilder("spark.kryo.registrationRequired") | |||
.version("1.1.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SPARK-2102, commit ID: efdaeb1#diff-1f81c62dad0e2dfc387a974bb08c497c
.booleanConf | ||
.createWithDefault(false) | ||
|
||
val KRYO_USER_REGISTRATORS = ConfigBuilder("spark.kryo.registrator") | ||
.version("0.5.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No JIRA ID, commit ID: 91c07a3#diff-792ed56b3398163fa14e8578549d0d98
This is not a release version, do we need to record it?
.stringConf | ||
.createOptional | ||
|
||
val KRYO_CLASSES_TO_REGISTER = ConfigBuilder("spark.kryo.classesToRegister") | ||
.version("1.2.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SPARK-1813, commit ID: 6bb56fa#diff-529fc5c06b9731c1fbda6f3db60b16aa
.stringConf | ||
.toSequence | ||
.createWithDefault(Nil) | ||
|
||
val KRYO_USE_UNSAFE = ConfigBuilder("spark.kryo.unsafe") | ||
.version("2.1.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.booleanConf | ||
.createWithDefault(false) | ||
|
||
val KRYO_USE_POOL = ConfigBuilder("spark.kryo.pool") | ||
.version("3.0.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SPARK-26466, commit ID: 38f0307#diff-a3c6b992784f9abeb9f3047d3dcf3ed9
.booleanConf | ||
.createWithDefault(true) | ||
|
||
val KRYO_REFERENCE_TRACKING = ConfigBuilder("spark.kryo.referenceTracking") | ||
.version("0.8.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No JIRA ID, commit ID: 0a8cc30#diff-1f81c62dad0e2dfc387a974bb08c497c
.booleanConf | ||
.createWithDefault(true) | ||
|
||
val KRYO_SERIALIZER_BUFFER_SIZE = ConfigBuilder("spark.kryoserializer.buffer") | ||
.version("1.4.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SPARK-5932, commit ID: 2d222fb#diff-1f81c62dad0e2dfc387a974bb08c497c
.bytesConf(ByteUnit.KiB) | ||
.createWithDefaultString("64k") | ||
|
||
val KRYO_SERIALIZER_MAX_BUFFER_SIZE = ConfigBuilder("spark.kryoserializer.buffer.max") | ||
.version("1.4.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SPARK-5932, commit ID: 2d222fb#diff-1f81c62dad0e2dfc387a974bb08c497c
Test build #119084 has finished for PR 27734 at commit
|
Merged to master. |
@HyukjinKwon Thanks for your work. |
… of Kryo ### What changes were proposed in this pull request? 1.Add version information to the configuration of `Kryo`. 2.Update the docs of `Kryo`. I sorted out some information show below. Item name | Since version | JIRA ID | Commit ID | Note -- | -- | -- | -- | -- spark.kryo.registrationRequired | 1.1.0 | SPARK-2102 | efdaeb1#diff-1f81c62dad0e2dfc387a974bb08c497c | spark.kryo.registrator | 0.5.0 | None | 91c07a3#diff-792ed56b3398163fa14e8578549d0d98 | This is not a release version, do we need to record it? spark.kryo.classesToRegister | 1.2.0 | SPARK-1813 | 6bb56fa#diff-529fc5c06b9731c1fbda6f3db60b16aa | spark.kryo.unsafe | 2.1.0 | SPARK-928 | bc167a2#diff-1f81c62dad0e2dfc387a974bb08c497c | spark.kryo.pool | 3.0.0 | SPARK-26466 | 38f0307#diff-a3c6b992784f9abeb9f3047d3dcf3ed9 | spark.kryo.referenceTracking | 0.8.0 | None | 0a8cc30#diff-1f81c62dad0e2dfc387a974bb08c497c | spark.kryoserializer.buffer | 1.4.0 | SPARK-5932 | 2d222fb#diff-1f81c62dad0e2dfc387a974bb08c497c | spark.kryoserializer.buffer.max | 1.4.0 | SPARK-5932 | 2d222fb#diff-1f81c62dad0e2dfc387a974bb08c497c | ### Why are the changes needed? Supplemental configuration version information. ### Does this PR introduce any user-facing change? No ### How was this patch tested? Exists UT Closes #27734 from beliefer/add-version-to-kryo-config. Authored-by: beliefer <beliefer@163.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
Merged to branch-3.0 too |
… of Kryo ### What changes were proposed in this pull request? 1.Add version information to the configuration of `Kryo`. 2.Update the docs of `Kryo`. I sorted out some information show below. Item name | Since version | JIRA ID | Commit ID | Note -- | -- | -- | -- | -- spark.kryo.registrationRequired | 1.1.0 | SPARK-2102 | efdaeb1#diff-1f81c62dad0e2dfc387a974bb08c497c | spark.kryo.registrator | 0.5.0 | None | 91c07a3#diff-792ed56b3398163fa14e8578549d0d98 | This is not a release version, do we need to record it? spark.kryo.classesToRegister | 1.2.0 | SPARK-1813 | 6bb56fa#diff-529fc5c06b9731c1fbda6f3db60b16aa | spark.kryo.unsafe | 2.1.0 | SPARK-928 | bc167a2#diff-1f81c62dad0e2dfc387a974bb08c497c | spark.kryo.pool | 3.0.0 | SPARK-26466 | 38f0307#diff-a3c6b992784f9abeb9f3047d3dcf3ed9 | spark.kryo.referenceTracking | 0.8.0 | None | 0a8cc30#diff-1f81c62dad0e2dfc387a974bb08c497c | spark.kryoserializer.buffer | 1.4.0 | SPARK-5932 | 2d222fb#diff-1f81c62dad0e2dfc387a974bb08c497c | spark.kryoserializer.buffer.max | 1.4.0 | SPARK-5932 | 2d222fb#diff-1f81c62dad0e2dfc387a974bb08c497c | ### Why are the changes needed? Supplemental configuration version information. ### Does this PR introduce any user-facing change? No ### How was this patch tested? Exists UT Closes apache#27734 from beliefer/add-version-to-kryo-config. Authored-by: beliefer <beliefer@163.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
What changes were proposed in this pull request?
1.Add version information to the configuration of
Kryo
.2.Update the docs of
Kryo
.I sorted out some information show below.
Why are the changes needed?
Supplemental configuration version information.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Exists UT