Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6875 New aggregated log file format for YARN log aggregation.
  3. YARN-9607

Auto-configuring rollover-size of IFile format for non-appendable filesystems

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • log-aggregation, yarn
    • None

    Description

      In YARN-9525, we made IFile format compatible with remote folders with s3a scheme. In rolling fashioned log-aggregation IFile still fails with the "append is not supported" error message, which is a known limitation of the format by design.

      There is a workaround though: setting the rollover size in the configuration of the IFile format, in each rolling cycle a new aggregated log file will be created, thus we eliminated the append from the process. Setting this config globally would cause performance problems in the regular log-aggregation, so I'm suggesting to enforcing this config to zero, if the scheme of the URI is s3a (or any other non-appendable filesystem).

      Attachments

        1. YARN-9607.001.patch
          5 kB
          Adam Antal
        2. YARN-9607.002.patch
          5 kB
          Adam Antal
        3. YARN-9607.003.patch
          8 kB
          Adam Antal
        4. YARN-9607.004.patch
          7 kB
          Adam Antal

        Issue Links

          Activity

            People

              adam.antal Adam Antal
              adam.antal Adam Antal
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: