hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chandra kant <chandralakshmikan...@gmail.com>
Subject Re: Installing both hadoop1 and haddop2 on single node
Date Mon, 05 May 2014 06:01:39 GMT
Thanks..
I set it accordingly..

On Monday, 5 May 2014, Shengjun Xin <sxin@gopivotal.com> wrote:

> I think you need to set two different environment variables for hadoop1
> and hadoop2, such as HADOOP_HOME, HADOOP_CONF_DIR and before you run hadoop
> command, you need to make sure the correct environment variables are enable.
>
>
> On Mon, May 5, 2014 at 12:36 PM, chandra kant <
> chandralakshmikant90@gmail.com<javascript:_e(%7B%7D,'cvml','chandralakshmikant90@gmail.com');>
> > wrote:
>
>>
>> Hi,
>> Is it possible to install both hadoop1 and hadoop2 side  by side on
>> single node for development purpose so that I can choose any one of them by
>> just shutting down one and starting another?
>> I installed hadoop 1.2.1 and ran air successfully.
>> Next, when I try to do "hdfs namenode - format " from hadoop2.2.0 , it
>> tries to format the hadoop.tmp.dir set up by hadoop1.2.1 , which is clearly
>> not desirable. I set up "dfs.namenode.name.dir" and "dfs.datanode.data.dir"
>> in "hdfs-site.xml" to different
>> locations.
>> But again the same problem...
>> Any suggestions....
>>
>> --
>> Chandra
>>
>>
>
>
> --
> Regards
> Shengjun
>

Mime
View raw message