Details
-
Bug
-
Status: Reopened
-
Critical
-
Resolution: Unresolved
-
2.6.2
Description
- Install HDP 2.6.4.0 stack with Ambari 2.6.1
- Update the current repository versions with the following body on ambari-2.6.1
PUT http://<ambari-server>:8080/api/v1/stacks/HDP/versions/2.6/repository_versions/1 { "operating_systems": [ { "OperatingSystems": { "os_type": "debian7", "ambari_managed_repositories": true }, "repositories": [ { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP/debian7/2.x/updates/2.6.0.3", "repo_id": "HDP-2.6", "repo_name": "HDP" } }, { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/debian6", "repo_id": "HDP-UTILS-1.1.0.21", "repo_name": "HDP-UTILS" } } ] }, { "OperatingSystems": { "os_type": "redhat6", "ambari_managed_repositories": true }, "repositories": [ { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.2.0/", "repo_id": "HDP-2.6", "repo_name": "HDP" } }, { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos6", "repo_id": "HDP-UTILS-1.1.0.21", "repo_name": "HDP-UTILS" } } ] }, { "OperatingSystems": { "os_type": "redhat7", "ambari_managed_repositories": true }, "repositories": [ { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.0.3", "repo_id": "HDP-2.6", "repo_name": "HDP" } }, { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos7", "repo_id": "HDP-UTILS-1.1.0.21", "repo_name": "HDP-UTILS" } } ] }, { "OperatingSystems": { "os_type": "suse11", "ambari_managed_repositories": true }, "repositories": [ { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.6.0.3", "repo_id": "HDP-2.6", "repo_name": "HDP" } }, { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/suse11sp3", "repo_id": "HDP-UTILS-1.1.0.21", "repo_name": "HDP-UTILS" } } ] }, { "OperatingSystems": { "os_type": "suse12", "ambari_managed_repositories": true }, "repositories": [ { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.6.0.3", "repo_id": "HDP-2.6", "repo_name": "HDP" } }, { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/suse11sp3", "repo_id": "HDP-UTILS-1.1.0.21", "repo_name": "HDP-UTILS" } } ] }, { "OperatingSystems": { "os_type": "ubuntu12", "ambari_managed_repositories": true }, "repositories": [ { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.6.0.3", "repo_id": "HDP-2.6", "repo_name": "HDP" } }, { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu12", "repo_id": "HDP-UTILS-1.1.0.21", "repo_name": "HDP-UTILS" } } ] }, { "OperatingSystems": { "os_type": "ubuntu14", "ambari_managed_repositories": true }, "repositories": [ { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3", "repo_id": "HDP-2.6", "repo_name": "HDP" } }, { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu14", "repo_id": "HDP-UTILS-1.1.0.21", "repo_name": "HDP-UTILS" } } ] }, { "OperatingSystems": { "os_type": "ubuntu16", "ambari_managed_repositories": true }, "repositories": [ { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP/ubuntu16/2.x/updates/2.6.0.3", "repo_id": "HDP-2.6", "repo_name": "HDP" } }, { "Repositories": { "base_url": "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu16", "repo_id": "HDP-UTILS-1.1.0.21", "repo_name": "HDP-UTILS" } } ] } ] }
Response: 200 OK
Navigating to the UI results in GPL fields missing.
Expected: Error to be thrown when trying to update repos without the GPL repo when stack >= HDP-2.6.4.