Re: Installing both hadoop1 and haddop2 on single node

2014-05-06 Thread Raj K Singh
yes you can install both the version on the same machine but make sure to install the configuration directories somewhere in the /etc/hadoop/conf_1.0.0 or /etc/hadoop/conf_2.0.x and setup HADOOP_CONF_DIR env variable to point to the correct installation. Apart from it HDFS implementation is

Re: Installing both hadoop1 and haddop2 on single node

2014-05-05 Thread chandra kant
Thanks.. I set it accordingly.. On Monday, 5 May 2014, Shengjun Xin s...@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

Re: Installing both hadoop1 and haddop2 on single node

2014-05-05 Thread chandra kant
I mean , I tried that already. In my .bash_profile , I set up HADOOP_HOME, HADOOP_MAPRED_HOME, HADOOP_COMMON_HOME, HADOOP_HDFS_HOME, HADOOP_YARN_HOME, HADOOP_CONF_DIR to point to hadoop2 directory. And similarly I have HADOOP_PREFIX and HADOOP_HOME for hadoop-1. So , i comment out hadoop-2

Re: Installing both hadoop1 and haddop2 on single node

2014-05-05 Thread Shengjun Xin
According to your description, I think it is still a configuration problem. Before you run hadoop command, did you check the hadoop version and hadoop environment variables ? Are they what you want? On Mon, May 5, 2014 at 11:42 PM, chandra kant chandralakshmikan...@gmail.com wrote: I mean , I

Re: Installing both hadoop1 and haddop2 on single node

2014-05-05 Thread Stanley Shi
Please be sure to use different HADOOP_CONF_DIR for the two version; and also in the configuration, be sure to use different folder to store the HDFS related files; Regards, *Stanley Shi,* On Tue, May 6, 2014 at 8:41 AM, Shengjun Xin s...@gopivotal.com wrote: According to your description, I

Fwd: Installing both hadoop1 and haddop2 on single node

2014-05-04 Thread chandra kant
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

Re: Installing both hadoop1 and haddop2 on single node

2014-05-04 Thread Shengjun Xin
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