hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <>
Subject [jira] [Commented] (HIVE-2757) hive can't find hadoop executor scripts without HADOOP_HOME set
Date Tue, 24 Apr 2012 23:16:07 GMT


Carl Steinbach commented on HIVE-2757:

bq. This unique feature of Hive makes discovery of Hadoop executor script happen at the level
of Java code.

Just to make sure I understand, you're saying that right now the bin/hive shell script calls
bin/hadoop, and you want to modify it so that bin/hive bypasses bin/hadoop and instead calls
java directly with the appropriate Hive class? That sounds like an improvement to me. Even
better would be to eliminate the Hive shell scripts entirely (or at least whittle them down
to nothing) and push most of this logic into Java.

Note that we're actually moving in the direction of removing the dependency on bin/hadoop
entirely. HIVE-2646 is part of that effort and just got committed.

bq. P.S. I have also took the liberty of removing ConfVars.HADOOPCONF since I don't think
it is used anymore.

That looks good to me. I wasn't able to find any references to this variable either.
> hive can't find hadoop executor scripts without HADOOP_HOME set
> ---------------------------------------------------------------
>                 Key: HIVE-2757
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.8.0
>            Reporter: Roman Shaposhnik
>         Attachments: HIVE-2757.patch.txt
> The trouble is that in Hadoop 0.23 HADOOP_HOME has been deprecated. I think it would
be really nice if bin/hive can be modified to capture the which hadoop
> and pass that as a property into the JVM.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message