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
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
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
>
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
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
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?
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
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