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

    • Type: Sub-task
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: log-aggregation, yarn
    • Labels:
      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.002.patch
          5 kB
          Adam Antal
        2. YARN-9607.001.patch
          5 kB
          Adam Antal

          Issue Links

            Activity

              People

              • Assignee:
                adam.antal Adam Antal
                Reporter:
                adam.antal Adam Antal
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: