Hey guys,

In CDH3 you can pin your repo to a particular release. Eg in the
following docs to use beta 1 specify "redhat/cdh/3b1" instead of
"redhat/cdh/3" in the repo file (for RH), or "<DISTRO>-cdh3b1" instead
of "<DISTRO>-cdh3" in the list file (for Debian). You'll need to do a
"yum clean metadata" or "apt-get clean update" so the new packages are
seen.

https://wiki.cloudera.com/display/DOC/Hadoop+Installation+(CDH3)

Also, please direct CDH usage queries to the user list:

https://groups.google.com/a/cloudera.org/group/cdh-user

Thanks,
Eli

On Tue, Aug 24, 2010 at 11:05 AM, Edward Capriolo <[email protected]> wrote:
> On Tue, Aug 24, 2010 at 1:36 PM, jiang licht <[email protected]> wrote:
>> 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.
>>
>>
>>
>>
>>
>>
>
> Ah. The dangers of installing things from the Internet!!!
>
> The cloudera package for hadoop is great. I use it, but I DO NOT
> download it from the internet every time! Why?
>
> Because of the exact problem you are having, packages get updated and
> finding the older one can be hard. Always keep a copy of your RPMs
> locally! (and run your own yum repo)
>
> You used to be able to navigate around the clouder repo and find the
> older RPM inside the same folder. You still probably can hunt around
> and you should be able to find it.
>
> http://archive.cloudera.com/cdh/3/
>
> Good luck!
>

Reply via email to