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

[UI2] ArtifactsId should not be a compulsory field for new service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • yarn-ui-v2
    • None
    • Reviewed

    Description

      1) Click on New ServiceĀ 
      2) Create a component

      Create Component page has Artifacts Id as compulsory entry. Few yarn service example such as sleeper.json does not need to provide artifacts id.

      sleeper.json
      {
        "name": "sleeper-service",
        "components" :
        [
          {
            "name": "sleeper",
            "number_of_containers": 2,
            "launch_command": "sleep 900000",
            "resource": {
              "cpus": 1,
              "memory": "256"
            }
          }
        ]
      }

      Thus, artifactsId should not be compulsory field.

      Attachments

        1. YARN-7949.001.patch
          3 kB
          Yesha Vora

        Activity

          People

            yeshavora Yesha Vora
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: