Github user yaooqinn commented on a diff in the pull request:
https://github.com/apache/spark/pull/22180#discussion_r212790276
--- Diff:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala
---
@@ -192,6 +192,12 @@ package object config {
.toSequence
.createWithDefault(Nil)
+ private[spark] val AM_FINAL_MSG_LIMIT =
ConfigBuilder("spark.yarn.am.finalMessageLimit")
+ .doc("The limit size of final diagnostic message for our
ApplicationMaster to unregister from" +
+ " the ResourceManager.")
+ .bytesConf(ByteUnit.BYTE)
+ .createWithDefaultString("1m")
--- End diff --
in https://issues.apache.org/jira/browse/YARN-6125
`yarn.app.attempt.diagnostics.limit.kc` 's default value is `64K`. I guess `1m`
here is enough
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]