|
|
Babak Bastan 2012-06-02, 09:20
Hello experts
How can I set HADOOP _HOME? in which file I can find this variable? I should set this variable with the path in that I downloaded hadoop?
thank you so much
Nitin Pawar 2012-06-02, 09:29
Use export command On Jun 2, 2012 2:50 PM, "Babak Bastan" <[EMAIL PROTECTED]> wrote: > > Hello experts > > How can I set HADOOP _HOME? in which file I can find this variable? I should set this variable with the path in that I downloaded hadoop? > > thank you so much
Mohammad Tariq 2012-06-02, 09:50
Hi Babak,
You can use export command from the shell to set HADOOO_HOME, but it will be lost once you close the terminal. To set ir permanently add the following line to the ".bashrc" file present in your /home/your_username/ directory -
export HADOOP_HOME=/path_of_your_hadoop_folder
You can use this to set any variable permanently. Restart your system in order to apply the changes.
Regards, Mohammad Tariq On Sat, Jun 2, 2012 at 2:59 PM, Nitin Pawar <[EMAIL PROTECTED]> wrote: > Use export command > > > On Jun 2, 2012 2:50 PM, "Babak Bastan" <[EMAIL PROTECTED]> wrote: >> >> Hello experts >> >> How can I set HADOOP _HOME? in which file I can find this variable? I >> should set this variable with the path in that I downloaded hadoop? >> >> thank you so much
Siddharth Tiwari 2012-06-02, 13:08
DO this:-
nano ~/.bashrc add following lines:- export HADOOP_HOME= (path to your hadoop bin directory)
#done
*------------------------*
Cheers !!!
Siddharth Tiwari
Have a refreshing day !!! "Every duty is holy, and devotion to duty is the highest form of worship of God.” Date: Sat, 2 Jun 2012 11:20:10 +0200 Subject: HADOOP_HOME From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]
Hello experts How can I set HADOOP _HOME? in which file I can find this variable? I should set this variable with the path in that I downloaded hadoop?
thank you so much
shashwat shriparv 2012-06-02, 16:59
One more way.....
add this line to you /etc/environment file
export HADOOP_HOME=<path of your hadoop folder>
On Sat, Jun 2, 2012 at 6:38 PM, Siddharth Tiwari <[EMAIL PROTECTED]>wrote:
> DO this:- > > nano ~/.bashrc > add following lines:- > export HADOOP_HOME= (path to your hadoop bin directory) > > #done > > > **------------------------** > *Cheers !!!* > *Siddharth Tiwari* > Have a refreshing day !!! > *"Every duty is holy, and devotion to duty is the highest form of worship > of God.” * > > > ------------------------------ > Date: Sat, 2 Jun 2012 11:20:10 +0200 > Subject: HADOOP_HOME > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > > > Hello experts > > How can I set HADOOP _HOME? in which file I can find this variable? I > should set this variable with the path in that I downloaded hadoop? > > thank you so much >
-- ∞ Shashwat Shriparv
Bejoy Ks 2012-06-04, 10:50
Hi
If you are looking to set HADOOP_HOME just for hive, you can do that at hive_env.sh .
For your question, yes it is location (hadoop parent dir) where you have extracted your tall ball.
Regards Bejoy KS ________________________________ From: shashwat shriparv <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Saturday, June 2, 2012 10:29 PM Subject: Re: HADOOP_HOME
One more way.....
add this line to you /etc/environment file
export HADOOP_HOME=<path of your hadoop folder> On Sat, Jun 2, 2012 at 6:38 PM, Siddharth Tiwari <[EMAIL PROTECTED]> wrote:
DO this:- > >nano ~/.bashrc >add following lines:- >export HADOOP_HOME= (path to your hadoop bin directory) > >#done > > >*------------------------* >Cheers !!! > Siddharth Tiwari > Have a refreshing day !!! >"Every duty is holy, and devotion to duty is the highest form of worship of God.” > > > > >________________________________ >Date: Sat, 2 Jun 2012 11:20:10 +0200 >Subject: HADOOP_HOME >From: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] > > >Hello experts > > >How can I set HADOOP _HOME? in which file I can find this variable? I should set this variable with the path in that I downloaded hadoop? > > >thank you so much -- �� ∞ Shashwat Shriparv
Mark Grover 2012-06-04, 15:47
Babak, For what it's worth, HADOOP_HOME has been deprecated starting Hadoop 0.23
Mark
----- Original Message ----- From: "Bejoy Ks" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Monday, June 4, 2012 6:50:33 AM Subject: Re: HADOOP_HOME
Hi If you are looking to set HADOOP_HOME just for hive, you can do that at hive_env.sh . For your question, yes it is location (hadoop parent dir) where you have extracted your tall ball. Regards Bejoy KS
From: shashwat shriparv <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Saturday, June 2, 2012 10:29 PM Subject: Re: HADOOP_HOME One more way..... add this line to you /etc/environment file export HADOOP_HOME=<path of your hadoop folder> On Sat, Jun 2, 2012 at 6:38 PM, Siddharth Tiwari < [EMAIL PROTECTED] > wrote: DO this:-
nano ~/.bashrc add following lines:- export HADOOP_HOME= (path to your hadoop bin directory)
#done *------------------------* Cheers !!! Siddharth Tiwari Have a refreshing day !!! "Every duty is holy, and devotion to duty is the highest form of worship of God.” Date: Sat, 2 Jun 2012 11:20:10 +0200 Subject: HADOOP_HOME From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello experts How can I set HADOOP _HOME? in which file I can find this variable? I should set this variable with the path in that I downloaded hadoop? thank you so much
--
∞ Shashwat Shriparv
|
|