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

If a sub-folder is encountered by log aggregator it results in invalid aggregated file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.6.0
    • Component/s: log-aggregation
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      See YARN-2724 for some more context on how the error surfaces during "yarn logs" call.

      If aggregator sees a sub-folder today it results in the following error when reading the logs:

      Container: container_1413512973198_0019_01_000002 on c6401.ambari.apache.org_45454
      ====================================================================================
      LogType: cmd_data
      LogLength: 4096
      Log Contents:
      Error aggregating log file. Log file : /hadoop/yarn/log/application_1413512973198_0019/container_1413512973198_0019_01_000002/cmd_data/hadoop/yarn/log/application_1413512973198_0019/container_1413512973198_0019_01_000002/cmd_data (Is a directory)
      

        Attachments

        1. YARN-2734.1.patch
          3 kB
          Xuan Gong
        2. YARN-2734.2.patch
          3 kB
          Xuan Gong

          Issue Links

            Activity

              People

              • Assignee:
                xgong Xuan Gong
                Reporter:
                sumitmohanty Sumit Mohanty
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: