Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 05-02-2016 12:23 PM
In Ambari blueprint, we tried giving the stack_version as 2.3 and it installed HDP 2.3.0.0. Instead we want the latest HDP 2.3.4.7. How do we specify this in the blue print.... or is there any other property or configuration parameter that we should use so that Ambari installs 2.3.4.7. Any pointers will be very much helpful for us. Thanks.
{
"configurations" : [ ],
"host_groups" : [ ],
"Blueprints" : {
"stack_name" : "HDP",
"stack_version" : "2.3"
}
}
Created 05-02-2016 01:17 PM
Each version of Ambari has a default HDP version for each stack version. In your case for stack 2.3 it appears to be 2.3.0.0. You can control that by setting Ambari's repository URLs. First inspect your current settings, for example in case of Redhat/Centos-6.x, from Ambari server:
curl -u admin:admin -H "X-Requested-By: ambari" http://localhost:8080/api/v1/stacks/HDP/versions/2.3/operating_systems/redhat6/repositories/HDP-2.3 curl -u admin:admin -H "X-Requested-By: ambari" http://localhost:8080/api/v1/stacks/HDP/versions/2.3/operating_systems/redhat6/repositories/HDP-UTIL...
To change the settings, issue the same 2 curl commands to the same URLs using http PUT method, and upload respective JSON files, one for HDP and one for HDP-UTILS repo.
{
"Repositories” : {
"base_url” : ”<HDP-2.3.4.7_REPO_BASE_URL>",
"verify_base_url” : true
}
}You can find repo URLs in Ambari install document, however my recommendation is to download and create local repos, to speed up the install phase. After setting repos, re-deploy the cluster.
Created 05-02-2016 01:17 PM
Each version of Ambari has a default HDP version for each stack version. In your case for stack 2.3 it appears to be 2.3.0.0. You can control that by setting Ambari's repository URLs. First inspect your current settings, for example in case of Redhat/Centos-6.x, from Ambari server:
curl -u admin:admin -H "X-Requested-By: ambari" http://localhost:8080/api/v1/stacks/HDP/versions/2.3/operating_systems/redhat6/repositories/HDP-2.3 curl -u admin:admin -H "X-Requested-By: ambari" http://localhost:8080/api/v1/stacks/HDP/versions/2.3/operating_systems/redhat6/repositories/HDP-UTIL...
To change the settings, issue the same 2 curl commands to the same URLs using http PUT method, and upload respective JSON files, one for HDP and one for HDP-UTILS repo.
{
"Repositories” : {
"base_url” : ”<HDP-2.3.4.7_REPO_BASE_URL>",
"verify_base_url” : true
}
}You can find repo URLs in Ambari install document, however my recommendation is to download and create local repos, to speed up the install phase. After setting repos, re-deploy the cluster.
Created 05-02-2016 04:41 PM
@Predrag Minovic - Thanks. It is solved.