Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21668

PATCH Repositories Not Visible in Web Client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.3
    • 2.5.3
    • ambari-web
    • None

    Description

      STR:

      • Install a cluster with HDFS an ZK on 2.5.0.0
      • Register a VDF for a PATCH repository for 2.5.4.0 for ZK and Storm

      The web client doesn't display this repository anywhere. The API is representing the data correctly:

      GET api/v1/clusters/c1/stack_versions
      {
        "href" : "http://localhost:8080/api/v1/clusters/c1/stack_versions",
        "items" : [
          {
            "href" : "http://localhost:8080/api/v1/clusters/c1/stack_versions/1",
            "ClusterStackVersions" : {
              "cluster_name" : "c1",
              "id" : 1,
              "repository_version" : 1,
              "stack" : "HDP",
              "version" : "2.5"
            }
          },
          {
            "href" : "http://localhost:8080/api/v1/clusters/c1/stack_versions/2",
            "ClusterStackVersions" : {
              "cluster_name" : "c1",
              "id" : 2,
              "repository_version" : 2,
              "stack" : "HDP",
              "version" : "2.5"
            }
          }
        ]
      }
      
      GET api/v1/stacks/HDP/versions/2.5/compatible_repository_versions?fields=CompatibleRepositoryVersions/repository_version
      {
        "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.5/compatible_repository_versions?fields=CompatibleRepositoryVersions/repository_version",
        "items" : [
          {
            "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.5/compatible_repository_versions/1",
            "CompatibleRepositoryVersions" : {
              "id" : 1,
              "repository_version" : "2.5.0.0-1237",
              "stack_name" : "HDP",
              "stack_version" : "2.5",
              "upgrade_types" : [
                "NON_ROLLING",
                "HOST_ORDERED",
                "ROLLING"
              ]
            }
          },
          {
            "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.5/compatible_repository_versions/2",
            "CompatibleRepositoryVersions" : {
              "id" : 2,
              "repository_version" : "2.5.4.0-121",
              "stack_name" : "HDP",
              "stack_version" : "2.5",
              "upgrade_types" : [
                "NON_ROLLING",
                "HOST_ORDERED",
                "ROLLING"
              ]
            }
          }
        ]
      }
      

      Attachments

        1. AMBARI-21668.patch
          2 kB
          Andrii Tkach

        Activity

          People

            atkach Andrii Tkach
            atkach Andrii Tkach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: