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

Add support for yarn logs -logFile to retain backward compatibility

    XMLWordPrintableJSON

    Details

      Description

      The YARN CLI logs command line option -logFiles was changed to -log_files in 2.9 and later releases. This change was made as part of YARN-5363.

      Verizon Media is in the process of moving from Hadoop-2.8 to Hadoop-2.10, and while testing integration with Spark, we ran into this issue. We are concerned that we will run into more cases of this as we roll out to production, and rather than break user scripts, we'd prefer to add -logFiles as an alias of -log_files. If both are provided, -logFiles will be ignored.

        Attachments

        1. YARN-10312-branch-3.2.001.patch
          5 kB
          Jim Brennan
        2. YARN-10312.001.patch
          5 kB
          Jim Brennan

          Issue Links

            Activity

              People

              • Assignee:
                Jim_Brennan Jim Brennan
                Reporter:
                Jim_Brennan Jim Brennan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: