If you want to remove an Ambari-through install of HDP components, you will have to it manually.
Actually, Ambari gives you a way to uninstall services and remove hosts. But, this feature assumes that you have completed the components install process successfully. What if the process fails somewhere when installing?
In my case, I collected all the commands from many posts and grouped them into one single script. You can find the script in my github.
By the way, this is a very well written manual on how to setup HDP 2.5.
The scope of this post does not cover Hadoop/Hbase setup. I asume that you have a running Hbase environment with a Master (HMaster) and two region servers (rs1 and rs2).
I’ll be using the HDP2.5 release from HortonWorks setup on CentOS 7.2.
1 – Setup Solr
Actually, I don’t want Ambari to manage my Solr instance because, we have some specific configurations to add and we won’t alter default ambari-agent’s behaviour.
sudo rpm --import http://public-repo-1.hortonworks.com/HDP-SOLR-2.5-100/repos/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins sudo cd /etc/yum.repos.d/ sudo wget http://public-repo-1.hortonworks.com/HDP-SOLR-2.5-100/repos/centos7/hdp-solr.repo sudo yum install lucidworks-hdpsearch