Re: Clean un-installation via Ambari

2015-08-06 Thread Olivier Renault
You should be able to just update the Ambari rpm. Alternatively, the brute force approach is yum remove ambari-server postgresql-server rm -Rf /var/lib/ambari-server /etc/ambari-server /var/lib/psql then you should be able to reinstall Thanks, Olivier Olivier Renault Solution Engineer Mobi

Re: Clean un-installation via Ambari

2015-08-06 Thread Kaliyug Antagonist
Yes Ambari 2.1 would be a good idea and since I am planning to un install the cluster, I may install the new Ambari version as well. Accordingly, I think I should follow the steps as below : 1. Clean the cluster using the steps in the link you provided 2. How to un install Ambari ??? 3.

Re: Clean un-installation via Ambari

2015-08-06 Thread Olivier Renault
I don’t think, I’ve tried it with Ambari 2.x. Please try it and let us know. BTW, you should be installing Ambari 2.1 ( there is quite a lot of bug fix vs 2.0 ). Kind regards, Olivier From: Kaliyug Antagonist Reply-To: "user@ambari.apache.org" Date: Thursday, 6 Au

Re: Clean un-installation via Ambari

2015-08-06 Thread Kaliyug Antagonist
Hi Olivier, I checked the link and I had a query - does this hold true even for HDP-2.2.4.2-2 using Ambari Version 2.0.0. as I have read that Ambari 2.x is a major improvement over the 1.x ? Thanks. On Thu, Aug 6, 2015 at 10:39 AM, Olivier Renault wrote: > > https://cwiki.apache.org/confluence

Re: Clean un-installation via Ambari

2015-08-06 Thread Kaliyug Antagonist
Hi Olivier, That sheds some light on the clean un installation but I second Loïc - is there some official , step-by-step guide for clean un install of HDP(and then a reinstall). This will help to understand and handle the issues that may arise e.g first run the clean up scripts on each node and t

Re: Clean un-installation via Ambari

2015-08-06 Thread Olivier Renault
https://cwiki.apache.org/confluence/display/AMBARI/Host+Cleanup+for+Ambari+and+Stack Olivier From: Loïc Chanel Reply-To: "user@ambari.apache.org" Date: Thursday, 6 August 2015 10:35 To: "user@ambari.apache.org" Subject: Re: Clean un-ins

Re: Clean un-installation via Ambari

2015-08-06 Thread Loïc Chanel
That's a VERY interesting piece of information. Do you know whether it's documented or not ? If so, where is it ? Thanks, Loïc Loïc CHANEL Engineering student at TELECOM Nancy Trainee at Worldline - Villeurbanne 2015-08-06 10:33 GMT+02:00 Olivier Renault : > Sorry I forgot to mention. On each

Re: Clean un-installation via Ambari

2015-08-06 Thread Olivier Renault
Sorry I forgot to mention. On each node, you will find a script which should clean the nodes for you. /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py, it will generally clean up your cluster I’ve also notice /usr/lib/python2.6/site-packages/ambari_agent/DataCleaner.py Kind regards,

Re: Clean un-installation via Ambari

2015-08-06 Thread Kaliyug Antagonist
Hi Olivier, Thanks for the reply. I had two concerns : 1. As I mentioned, I want to un install the entire cluster which means the 9 nodes where there are datanode directories, nn configs. and previously loaded data(less in size), missing blocks(!) etc. should be cleaned i.e I get ba

Re: Clean un-installation via Ambari

2015-08-06 Thread Olivier Renault
Log on your ambari-server bring it down and reset it $ ambari-server stop $ ambari-server reset If you are using postgresql – installed and configured by ambari server, you should be able to restart. If you are using MySQL or Oracle, you will need to drop / re-create the database manually. $ a

Clean un-installation via Ambari

2015-08-06 Thread Kaliyug Antagonist
I had installed HDP-2.2.4.2-2 using Ambari Version 2.0.0. There have been several issues in the cluster due to misconfiguration in the datanode directories and so on. Now I get several alerts and any MR that I execute fails with an error like this : 15/06/01 13:53:44 INFO mapreduce.Job: Job job_1