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