Antonenko Alexander created AMBARI-21183:
--------------------------------------------

             Summary: Removal of INIT Repository State from Web Client
                 Key: AMBARI-21183
                 URL: https://issues.apache.org/jira/browse/AMBARI-21183
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 3.0.0
            Reporter: Antonenko Alexander
            Assignee: Antonenko Alexander
             Fix For: 3.0.0


AMBARI-21179 removed the unused {{INIT}} state from repository version 
distributions. It seems like the web client is still using this field in 
several places. The new value of repositories which were in the {{INIT}} state 
is now {{NOT_REQUIRED}}:

{code}
{
  "href": "http://localhost:8080/api/v1/clusters/c1/stack_versions/2";,
  "ClusterStackVersions": {
    "cluster_name": "c1",
    "id": 2,
    "repository_version": 2,
    "stack": "HDP",
    "state": "NOT_REQUIRED",
    "version": "2.6",
    "host_states": {
      "CURRENT": [],
      "INSTALLED": [],
      "INSTALLING": [],
      "INSTALL_FAILED": [],
      "NOT_REQUIRED": [],
      "OUT_OF_SYNC": []
    }
  },
  "repository_versions": [
    {
      "href": 
"http://localhost:8080/api/v1/clusters/c1/stack_versions/2/repository_versions/2";,
      "RepositoryVersions": {
        "id": 2,
        "stack_name": "HDP",
        "stack_version": "2.6"
      }
    }
  ]
}
{code}





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to