Created on 03-28-2019 07:11 AM - edited 08-17-2019 04:23 PM
Created 03-28-2019 09:19 AM
There's an API to remove older versions from the hosts. Take a look at https://issues.apache.org/jira/browse/AMBARI-18435
E.g.,
- curl 'http://c6401.ambari.apache.org:8080/api/v1/clusters/cl1/requests' -u admin:admin -H "X-Requested-By: ambari" -X POST -d'{"RequestInfo":{"context":"remove_previous_stacks", "action" : "remove_previous_stacks", "parameters" : {"version":"2.5.0.0-1245"}}, "Requests/resource_filters": [{"hosts":"c6403.ambari.apache.org, c6402.ambari.apache.org"}]}'
Created on 03-28-2019 07:16 AM - edited 08-17-2019 04:23 PM
Prepare to upgrade to Spark-2.2.0, but when Ambari adds services, only Spark 2.1.1.
Created 03-28-2019 09:19 AM
There's an API to remove older versions from the hosts. Take a look at https://issues.apache.org/jira/browse/AMBARI-18435
E.g.,
- curl 'http://c6401.ambari.apache.org:8080/api/v1/clusters/cl1/requests' -u admin:admin -H "X-Requested-By: ambari" -X POST -d'{"RequestInfo":{"context":"remove_previous_stacks", "action" : "remove_previous_stacks", "parameters" : {"version":"2.5.0.0-1245"}}, "Requests/resource_filters": [{"hosts":"c6403.ambari.apache.org, c6402.ambari.apache.org"}]}'
Created on 03-28-2019 10:28 AM - edited 08-17-2019 04:23 PM
When adding the service, I found that the local repo was not being used. Instead, a remote hdp repo is used.
Created 03-29-2019 01:08 AM
Ambari Version is 2.6.1.0 and HDP Version is 2.6.4.0 .
Created 03-29-2019 01:33 AM
I know, this is the problem that is displayed. During the installation process, I still use my local repo. I guess it may be a bug after Ambari upgrade!
Created 03-29-2019 04:35 AM
In /etc/yum.repos.d, remove all .repo files pointing to the Internet and copy only .repo files from other servers which are already using your local repo. For HDP nodes, initially you need only 2 .repo files, one for the OS, and ambari.repo. When Ambari adds a new node to the cluster it will copy there HDP.repo and HDP-UTILS.repo. Also, have you set your repository URLs in Ambari-> Admin-> Stack and versions-> Versions -> Manage Versions -> [click on your current version] ?