Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

API + restart the services that restart is required

avatar

after adding new parameter and value to the ambari cluster , we need to restart the service to take affect

from ambari GUI restart the service is required , and we can see that because restart button is colored with orange

so my question is

we need API command that restart only the services that restart is required?

Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
14 REPLIES 14

avatar

I test it again , hostname for sure is ok and the cluster name is correct , what chuld be the problem

Michael-Bronson

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar

now command its works , but in the ambari cluster the service hive and the service spark2 still have the button restart in orange ( so seems command works on linux ) but not refreshed the service , the target of my quastion was to restart/refreshed all services that need to be restart

Michael-Bronson

avatar
Master Mentor

@uri ben-ari

Please check the progress of the request ID ... to see if it is completed or stuck:?

Example:

curl  -u admin:admin -H "X-Requested-By: ambari" -X GET http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/requests/132

.

avatar

every thing is ok now thx

Michael-Bronson