dongjoon-hyun commented on code in PR #40637:
URL: https://github.com/apache/spark/pull/40637#discussion_r1161447225
##########
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala:
##########
@@ -225,6 +225,17 @@ package object config extends Logging {
.timeConf(TimeUnit.MILLISECONDS)
.createWithDefaultString("1s")
+ private[spark] val REPORT_LOG_FREQUENCY = {
+ ConfigBuilder("spark.yarn.report.logging.frequency")
+ .doc("Maximum number of application reports processed " +
+ "until the next application status is logged. " +
+ "If there is a change of state, the application status will be logged
" +
+ "regardless of the number of application reports processed.")
+ .version("3.5.0")
+ .intConf
Review Comment:
If you want to support to an option to disable this feature, please document
it additionally.
##########
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala:
##########
@@ -225,6 +225,17 @@ package object config extends Logging {
.timeConf(TimeUnit.MILLISECONDS)
.createWithDefaultString("1s")
+ private[spark] val REPORT_LOG_FREQUENCY = {
+ ConfigBuilder("spark.yarn.report.logging.frequency")
+ .doc("Maximum number of application reports processed " +
+ "until the next application status is logged. " +
+ "If there is a change of state, the application status will be logged
" +
+ "regardless of the number of application reports processed.")
+ .version("3.5.0")
+ .intConf
Review Comment:
If you want to support to an option to disable this feature, please document
it explicitly.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]