Member since
01-19-2017
3679
Posts
632
Kudos Received
372
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 787 | 06-04-2025 11:36 PM | |
| 1368 | 03-23-2025 05:23 AM | |
| 679 | 03-17-2025 10:18 AM | |
| 2464 | 03-05-2025 01:34 PM | |
| 1605 | 03-03-2025 01:09 PM |
08-08-2017
03:30 PM
@uri ben-ari If I understand you well,you want to make a change a cluster and replicate that to all the other lab clusters ? Right I would think that is doable if you can script you curl do loop through the clusters you will have to deal with inter cluster authentication and authorization. In a secure setup kerberized cluster that can be handled through KNOX. Personally I have not done that, having said that blue prints resolve the tedious administration of initial cluster setup. Below is a link that could inspire you. Dynamically Add Hosts to a Cluster with Blueprints You had earlier asked an initial question which I think I replied to could you reward the best answer for your previous question as this is a new question. This ensure people can take time to respond and feel gratified if their answer help a member.
... View more
08-08-2017
12:54 PM
1 Kudo
@uri ben-ari In the below example I am removing and re-installing RANGER Stop RANGER component curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop All Components"},"Body":{"ServiceComponentInfo":{"state":"INSTALLED"}}}' http://{ambari_host}:8080/api/v1/clusters/{cluster_name}/services/OOZIE/components/RANGER Delete RANGER component curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://{ambari_host}:8080/api/v1/clusters/{cluster_name}/services/RANGER Install RANGER component curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Component"},"Body":{"HostRoles":{"state":"INSTALLED"}}}' http://{ambari_host}:8080/api/v1/clusters/{cluster_name}/hosts/HOSTNAME/host_components/RANGER Hope that helps
... View more
08-08-2017
12:10 PM
@uri ben-ari Usually when you add or delete components in a cluster its advisable to download the new blueprint, to enable you reproduce the cluster like from UAT/DEV to PROD. The other was round I have never tried though you can add components to an existing cluster using a blueprint. see Look at this
... View more
08-08-2017
11:14 AM
@uri ben-ari I always use a json validator, I don't know any tool that can that could help but if the value don't match your json wont be accepted and the output will give you hints as to which parameter. Also see Ambari blueprints
... View more
08-08-2017
10:45 AM
@uri ben-ari, You can generate your new blueprint.json from an existing cluster replacing the {ambari_host} and {Cluster_name} with correct values curl -H "X-Requested-By: ambari" -X GET -u admin:admin http://{ambari_host}:8080/api/v1/clusters/{Cluster_name}\?format\=blueprint > blueprint.json Hope that helps
... View more
08-08-2017
10:35 AM
@uri ben-ari The .yml file is specific to the OS setup you run in this case the IBM... Ambari blueprint uses the .json using curl. 1- What do you tend to achieve?
... View more
08-08-2017
10:14 AM
@uri ben-ari The .yml is a configuration file It's basically a human-readable structured data format "YAML stands for "YAML Ain't Markup Language" and it is used extensively in Grav for its configuration files, blueprints, and also in page settings. YAML is to configuration what markdown is to markup."
In this case the your configuration file is "myBlueprint.yml"
The json file with the -d @updatedBlueprint.json should be in the current directory where you are running the curl command.
... View more
08-03-2017
04:40 PM
@Aaron Norton What are the host entries in your ambari server /etc/hosts ? Is the LDAP server entry correct ? Please revert
... View more
08-01-2017
04:36 PM
@steve coyle The problem is with the below param oozie_user_nproc_limit check this document
... View more
08-01-2017
03:41 PM
@steve coyle Have you checked in limits_conf_dir = /etc/security/limits.d
... View more