Chengbing Liu created YARN-6967:

             Summary: Limit application attempt's diagnostic message size 
                 Key: YARN-6967
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
    Affects Versions: 2.8.1
            Reporter: Chengbing Liu
            Assignee: Chengbing Liu

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 

A simple fix is to also use {{BoundedAppender}} for the local variable.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to