- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
how to perform restart after we change around 50 parameters in ambari cluster
- Labels:
-
Apache Ambari
-
Apache Hadoop
Created ‎08-28-2017 09:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to perform restart (on services/components) after we change around 50 parameters (blueprint parameters) in ambari cluster
we change around 50 values in ambari cluster ( with config.sh script )
after that we restart by API all relevant services/components ( by API down) , but after half hour we get fail on some services/components
so maybe the right thing is to perform restart after each value change ? ( in place to restart after all values are set ) ?
or maybe need to restart the services/components according to some priority/rules ?
example how we perform restart
curl -iv -u admin:admin -H "X-Requested-By: ambari" -X POST -d '{"RequestInfo":{"command":"RESTART","context":"Restart all required services","operation_level":"host_component"},"Requests/resource_filters":[{"hosts_predicate":"HostRoles/stale_configs=true"}]}' http://$HOSTANAME:8080/api/v1/clusters/$CLUSTER_NAME/requests
Created ‎08-30-2017 06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can restart after you set all parameters. but might be difficult to troubleshoot if some of the services fail to start.
Created ‎08-29-2017 08:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@uri ben-ari you need to look at those services that are failing and look at the log file to understand why they are failing and fix those issues.
you can always revert back to the working config from the amabri UI.
you can also perform restart of all the components required from the Ambari UI under
Add Services -> Restart All affected
Created ‎08-29-2017 10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
generic question , do we need to do restart after each parameter settings ? or we can do after we set all parameters?
Created ‎08-30-2017 06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can restart after you set all parameters. but might be difficult to troubleshoot if some of the services fail to start.
