Re: HADOOP_HOME requirement

2012-07-18 Thread kulkarni.swar...@gmail.com
My main concern here was that HADOOP_HOME is deprecated since hadoop 0.23. So I was hoping it could actually function as documented. FWIW, I found this bug[1] that addresses exactly this issue. The attached patch makes HADOOP_HOME not required and auto-detects hadoop from the path. This seems to h

Re: HADOOP_HOME requirement

2012-07-18 Thread kulkarni.swar...@gmail.com
Hm. Yeah I tried out with a few version 0.7 -> 0.9 and seems like they all do. May be we should just update the documentation then? On Wed, Jul 18, 2012 at 12:34 PM, Vinod Singh wrote: > We are using Hive 0.7.1 and there HADOOP_HOME must be exported so that > it is available as environment vari

Re: HADOOP_HOME requirement

2012-07-18 Thread Vinod Singh
We are using Hive 0.7.1 and there HADOOP_HOME must be exported so that it is available as environment variable. Thanks, Vinod On Wed, Jul 18, 2012 at 10:48 PM, Nitin Pawar wrote: > from hive trunk i can only see this > I am not sure I am 100% sure but I remember setting up HADOOP_HOME always >

Re: HADOOP_HOME requirement

2012-07-18 Thread Nitin Pawar
from hive trunk i can only see this I am not sure I am 100% sure but I remember setting up HADOOP_HOME always http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MapRedTask.java String hadoopExec = conf.getVar(HiveConf.ConfVars.HADOOPBIN); this change was

Re: HADOOP_HOME requirement

2012-07-18 Thread kulkarni.swar...@gmail.com
0.9 On Wed, Jul 18, 2012 at 12:04 PM, Nitin Pawar wrote: > this also depends on what version of hive you are using > > > On Wed, Jul 18, 2012 at 10:33 PM, kulkarni.swar...@gmail.com < > kulkarni.swar...@gmail.com> wrote: > >> Thanks for your reply nitin. >> >> Ok. So you mean we always need to se

Re: HADOOP_HOME requirement

2012-07-18 Thread Nitin Pawar
this also depends on what version of hive you are using On Wed, Jul 18, 2012 at 10:33 PM, kulkarni.swar...@gmail.com < kulkarni.swar...@gmail.com> wrote: > Thanks for your reply nitin. > > Ok. So you mean we always need to set HADOOP_HOME irrespective of "hadoop" > is on the path or not. Correct?

Re: HADOOP_HOME requirement

2012-07-18 Thread kulkarni.swar...@gmail.com
Thanks for your reply nitin. Ok. So you mean we always need to set HADOOP_HOME irrespective of "hadoop" is on the path or not. Correct? Little confused because that contradicts what's mentioned here[1]. [1] https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-RunningHiv

Re: HADOOP_HOME requirement

2012-07-18 Thread Nitin Pawar
This is not a bug. even if hadoop was path, hive does not use it. Hive internally uses HADOOP_HOME in the code base. So you will always need to set that for hive. Where as for HADOOP clusters, HADOOP_HOME is deprecated but hive still needs it. Don't know if that answers your question Thanks, Nit

Re: HADOOP_HOME

2012-06-04 Thread Mark Grover
Babak, For what it's worth, HADOOP_HOME has been deprecated starting Hadoop 0.23 Mark - Original Message - From: "Bejoy Ks" To: user@hive.apache.org Sent: Monday, June 4, 2012 6:50:33 AM Subject: Re: HADOOP_HOME Hi If you are looking to set HADOOP_HOME just for h

Re: HADOOP_HOME

2012-06-04 Thread Bejoy Ks
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= On Sat, Jun 2, 2012 at 6:38 PM, Siddharth Tiwari wrote: DO this:- > >nano ~/.bashrc >add following lines:- >export HADOOP_HOME= (

Re: HADOOP_HOME

2012-06-02 Thread shashwat shriparv
One more way. add this line to you /etc/environment file export HADOOP_HOME= On Sat, Jun 2, 2012 at 6:38 PM, Siddharth Tiwari wrote: > DO this:- > > nano ~/.bashrc > add following lines:- > export HADOOP_HOME= (path to your hadoop bin directory) > > #done > > > **--

RE: HADOOP_HOME

2012-06-02 Thread Siddharth Tiwari
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

Re: HADOOP_HOME

2012-06-02 Thread Mohammad Tariq
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

Re: HADOOP_HOME

2012-06-02 Thread Nitin Pawar
Use export command On Jun 2, 2012 2:50 PM, "Babak Bastan" 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