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

Limit application attempt's diagnostic message size thoroughly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.9.0, 3.0.0-beta1
    • resourcemanager
    • 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.

      Attachments

        1. YARN-6967.01.patch
          3 kB
          Chengbing Liu

        Issue Links

          Activity

            People

              chengbing.liu Chengbing Liu
              chengbing.liu Chengbing Liu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: