Thanks Sudhir and Michael. I want to replace a new release of CDH3 (0.20.2+320) 
to a previous release of CDH3 (0.20.2+228). The problem is that there is no 
installation package for previous release of CDH3 and no source to rebuild 
from. If you do yum install from cloudera repository, you always get the latest 
release. That's why I want to know a nice way to do this. Please correct me if 
I am wrong. I also noticed that ppl talked about a package for each release in 
Cloudera-supported forum getsatisfaction.com but don't know current status.

In the end, to get work done and since hadoop is simply a java application, I 
simply used the files installed by previous release (on other machines) and set 
up configurations that point to the right locations.

Thanks,

Michael

--- On Tue, 8/24/10, Sudhir Vallamkondu <[email protected]> 
wrote:

From: Sudhir Vallamkondu <[email protected]>
Subject: RE: how to revert from a new version to an older one (CDH3)?
To: [email protected]
Date: Tuesday, August 24, 2010, 10:57 AM

More specifics on Michael¹s comment. You can use the yum remove or apt-get
purge to remove the existing install.

For Red Hat systems, run this command:
# yum remove hadoop -y

For Debian systems, run this command:
# apt-get purge hadoop

Verify that you have no Hadoop packages installed on your cluster.

For Red Hat systems, run this command which should return no packages:
$ rpm -qa | grep hadoop

For Debian systems, run this command which should return no packages:
$ dpkg -l | grep hadoop

References:
https://docs.cloudera.com/display/DOC/Hadoop+Upgrade+from+CDH2+to+CDH3

On Aug/24/ 5:08 AM, "[email protected]"
<[email protected]> wrote:

> From: Michael Segel <[email protected]>
> Date: Tue, 24 Aug 2010 06:21:30 -0500
> To: <[email protected]>
> Subject: RE: how to revert from a new version to an older one (CDH3)?
> 
> 
> Not sure if you got your question answered...
> 
> You need to delete the current version (via yum) and then specifically
> re-install the version you want by specifying the full name including version.
> 
> HTH 
> -Mike
> 
> 
>> > Date: Mon, 23 Aug 2010 15:00:39 -0700
>> > From: [email protected]
>> > Subject: how to revert from a new version to an older one (CDH3)?
>> > To: [email protected]
>> > 
>> > I want to replace a new CDH version 0.20.2+320 with an older one
>> 0.20.2+228. 
>> > 
>> > "yum downgrade" reports that version can only be upgraded. I also didn't
>> find a way to yum install the older version.
>> > 
>> > I guess I can download tar ball of the old version and extract it to where
>> the new version is installed and overwrite it. But seems not a good solution
>> because it might have negative impact on upgrading in the future.
>> > 
>> > So, what is the best way to do this?
>> > 
>> > Thanks,
>> > 
>> > Michael
>> > 
>> > 
>> >       
>             


iCrossing Privileged and Confidential Information
This email message is for the sole use of the intended recipient(s) and may 
contain confidential and privileged information of iCrossing. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.





      

Reply via email to