First of all thanks to all who answer this question as i am struggling with this issue from many hours but unable to resolve it.
I have HDP2.5 running on my dev environment. After making a cleanup of all services except ZooKeeper i am not able to add any service using Ambari UI. The error message is below:-
500 status code received on POST method for API: /api/v1/stacks/HDP/versions/2.5/recommendations Error message: Server Error
Error screen shot is also attached for reference.
I have restarted the Ambari-server many times but no success.