Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.1
-
None
-
Reviewed
Description
YARN-6125 implemented BoundedAppender and applied to the field diagnostics to limit the diagnostic message's size.
However, some code bypasses this limit. In RMAppAttemptImpl.rememberTargetTransitionsAndStoreState(...), a local variable diags will finally be written into ZooKeeper if ZKRMStateStore is used.
A simple fix is to also use BoundedAppender for the local variable.