Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1520 | 06-15-2020 05:23 AM | |
10326 | 01-30-2020 08:04 PM | |
1667 | 07-07-2019 09:06 PM | |
6952 | 01-27-2018 10:17 PM | |
3902 | 12-31-2017 10:12 PM |
08-09-2017
01:15 PM
after changes we get Heartbeat Lost for all services
... View more
08-09-2017
01:13 PM
after changes we get Heartbeat Lost for all services ( and I cant start/stop service on all machines )
... View more
08-09-2017
01:12 PM
after changes , ambari cluster seems to be bad ( we have Heartbeat Lost on all services )
... View more
08-09-2017
12:55 PM
OK I will replace to -X PUT
... View more
08-09-2017
12:06 PM
I performed the following steps in order to update some values in Ambari GUI
we have - Ambari cluster GUI ( Version 2.5.0.3 )
lets say we want to change the parameter value ( from YARN service ) yarn.scheduler.minimum-allocation-mb : from 11776 to 11700 so we create first the following blueprint.json file as the following: ( under /tmp ) curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://101.64.36.20:8080/api/v1/clusters/HDP01?format=blueprint -o /tmp/HDP01_blueprint.json we delete the existing blueprint from ambari cluster as the following: curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://101.64.36.20:8080/api/v1/blueprints/HDP01 and finally we update the new blueprint.json back to ambari cluster as the following curl -u admin:admin -H "X-Requested-By: ambari" -X POST http://101.64.36.20:8080/api/v1/blueprints/HDP01?validate_topology=false -d @/tmp/HDP01_blueprint.json
to take affect we restart the ambari server ambari-server restart
we access to the ambari GUI to see the new value
but the old value appears please advice what is wrong with my steps? the target of my procedure is to
replace the values from the ambari cluster by reconfigure the blueprint.json file
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
08-09-2017
10:08 AM
how it can be if we delete the blueprint.json and upload the new one but still ambari GUI show the old values ?
... View more
08-09-2017
09:56 AM
ok now its work but little problem , before I upload the blueprint .json file I change the value - yarn.scheduler.minimum-allocation-mb" , and after I upload the json file and I access to ambari GUI I see the previos value - why ? , second I also restart the ambari-server but still have the old value
... View more
08-09-2017
09:34 AM
ok I removed the old json file and after I create the new one I get this - {
"status" : 400,
"message" : "Cluster Topology validation failed. Invalid service component count: [Schema_Registry(actual=3, required=5), MassFlowManager(actual=1, required=5), MassRepo(actual=1, required=5), Airflow(actual=1, required=5)]. To disable topology validation and create the blueprint, add the following to the end of the url: '?validate_topology=false'"
... View more
08-09-2017
09:20 AM
thx for your answer , now I get - {
"status" : 409,
"message" : "Attempted to create a Blueprint which already exists, blueprint_name=HDP01"
}
... View more
08-09-2017
09:09 AM
the json data is ok , the problem is about my syntax ( with curl .... )
... View more