attilapiros commented on a change in pull request #24368: [SPARK-27464][CORE]
Added Constant instead of referring string literal used from many places
URL: https://github.com/apache/spark/pull/24368#discussion_r275354966
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -1303,4 +1303,10 @@ package object config {
.doc("Staging directory used while submitting applications.")
.stringConf
.createOptional
+
+ private[spark] val BUFFER_PAGESIZE = ConfigBuilder("spark.buffer.pageSize")
+ .doc("The amount of memory used per page in bytes")
+ .bytesConf(ByteUnit.BYTE)
Review comment:
I see, especially as this value is used as default for
`memoryManager.pageSizeBytes` too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]