Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6967

Limit application attempt's diagnostic message size thoroughly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: resourcemanager
    • Labels:
      None
    • Hadoop Flags:
      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.

        Attachments

          Activity

            People

            • Assignee:
              chengbing.liu Chengbing Liu
              Reporter:
              chengbing.liu Chengbing Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: