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

Yarn logs command should be able to fetch logs of service applications with just app name

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • None
    • yarn-native-services
    • None

    Description

      Currently we can specify the unique Yarn Service app name in the "yarn app" command to fetch the status and to perform various operations.

      It will also be useful to specify just the app name in the "yarn logs" command. This will be more convenient that getting the app id of the service, just to fetch the logs.

      An example usage is as follows:

      yarn logs -service sleeper-service
      

      Attachments

        Activity

          People

            tarunparimi Tarun Parimi
            tarunparimi Tarun Parimi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: