You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Jeff Zhang <zj...@gmail.com> on 2009/10/30 06:44:26 UTC

Can I install two different version of hadoop in the same cluster ?

Hi all,

I have installed hadoop 0.18.3 on my own cluster with 5 machines, now I want
to install hadoop 0.20, but I do not run to uninstall the hadoop 0.18.3.

So what things should I modify to eliminate conflict with hadoop 0.18.3 ? I
think currently I should modify the data dir and name dir and the ports,
what else should I take care ?


Thank you

Jeff zhang

Re: Can I install two different version of hadoop in the same cluster ?

Posted by Aaron Kimball <aa...@cloudera.com>.
Also hadoop.tmp.dir and mapred.local.dir in your xml configuration, and the
environment variables HADOOP_LOG_DIR and HADOOP_PID_DIR in hadoop-env.sh.

- Aaron

On Thu, Oct 29, 2009 at 10:44 PM, Jeff Zhang <zj...@gmail.com> wrote:

> Hi all,
>
> I have installed hadoop 0.18.3 on my own cluster with 5 machines, now I
> want
> to install hadoop 0.20, but I do not run to uninstall the hadoop 0.18.3.
>
> So what things should I modify to eliminate conflict with hadoop 0.18.3 ? I
> think currently I should modify the data dir and name dir and the ports,
> what else should I take care ?
>
>
> Thank you
>
> Jeff zhang
>

Re: Can I install two different version of hadoop in the same cluster ?

Posted by Amandeep Khurana <am...@gmail.com>.
Theoretically, you should be able to do this. You'll need to alter all the
ports so that there are no conflicts. However, resources might be a
problem... (assuming that you want daemons of both versions running at the
same time).. If you just want to run one version at a time, then it should
not be a problem as long as you keep the directories separate..

On Thu, Oct 29, 2009 at 10:44 PM, Jeff Zhang <zj...@gmail.com> wrote:

> Hi all,
>
> I have installed hadoop 0.18.3 on my own cluster with 5 machines, now I
> want
> to install hadoop 0.20, but I do not run to uninstall the hadoop 0.18.3.
>
> So what things should I modify to eliminate conflict with hadoop 0.18.3 ? I
> think currently I should modify the data dir and name dir and the ports,
> what else should I take care ?
>
>
> Thank you
>
> Jeff zhang
>