[
https://issues.apache.org/jira/browse/HIVE-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995158#comment-12995158
]
Carl Steinbach commented on HIVE-1817:
--------------------------------------
Here's the result I get after applying the patch to a fresh checkout:
{code}
% build/dist/bin/hive
Cannot find hadoop installation: $HADOOP_HOME must be set or hadoop must be in
the path
% ls build/hadoopcore/
hadoop-0.20.1 hadoop-0.20.3-CDH3-SNAPSHOT
hadoop-0.20.1.installed hadoop-0.20.3-CDH3-SNAPSHOT.installed
hadoop-0.20.1.tar.gz hadoop-0.20.3-CDH3-SNAPSHOT.tar.gz
% export HADOOP_HOME=~/Work/repos/hive-rev/build/hadoopcore/hadoop-0.20.1
% build/dist/bin/hive
Hive history file=/tmp/carl/hive_job_log_carl_201102152028_838041018.txt
hive> quit;
quit;
%
{code}
It looks like you already have bin/hadoop on your PATH or HADOOP_HOME is
defined in your environment.
> Remove Hive dependency on unreleased commons-cli 2.0 Snapshot
> -------------------------------------------------------------
>
> Key: HIVE-1817
> URL: https://issues.apache.org/jira/browse/HIVE-1817
> Project: Hive
> Issue Type: Task
> Components: Build Infrastructure, CLI
> Reporter: Carl Steinbach
> Assignee: Carl Steinbach
> Priority: Blocker
> Fix For: 0.7.0
>
> Attachments: HIVE-1817.2.patch.txt, HIVE-1817.3.patch.txt,
> HIVE-1817.4.patch.txt, HIVE-1817.wip.1.patch.txt
>
>
> The Hive CLI depends on commons-cli-2.0-SNAPSHOT. This branch of of the
> commons-cli project is dead.
> Hive needs to use commons-cli-1.2 instead. See MAPREDUCE-767 for more
> information.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira