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

Improve Diagonstic message for stop yarn native service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • None
    • None
    • Reviewed

    Description

      Steps:

      1) Install Hadoop 3.0 cluster
      2) Run Yarn service application

      sleeper.json
      {
        "name": "sleeper-service",
        "components" : 
          [
            {
              "name": "sleeper",
              "number_of_containers": 1,
              "launch_command": "sleep 900000",
              "resource": {
                "cpus": 1, 
                "memory": "256"
             }
            }
          ]
      }
      cmd
      yarn app -launch my-sleeper1 sleeper.json

      3) stop yarn service app

      cmd
      yarn app -stop my-sleeper1

      On stopping yarn service, appId finishes with YarnApplicationState: FINISHED , FinalStatus Reported by AM: ENDED and Diagnostics: Navigate to the failed component for more details.

      Here, Diagnostics message should be improved. When an application is explicitly stopped by user, the diagnostics message should say " Application stopped by user"

      Attachments

        1. YARN-7671.001.patch
          2 kB
          Chandni Singh
        2. YARN-7671.002.patch
          3 kB
          Chandni Singh

        Activity

          People

            csingh Chandni Singh
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: