You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2009/01/22 03:59:11 UTC
[Hadoop Wiki] Update of "Hive/AdminManual/Installation" by RodrigoSchmidt
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by RodrigoSchmidt:
http://wiki.apache.org/hadoop/Hive/AdminManual/Installation
New page:
Installing Hive is simple and only requires having Java 1.6 and Ant.
Hive is available via SVN at: http://svn.apache.org/repos/asf/hadoop/hive/trunk
* $ svn co http://svn.apache.org/repos/asf/hadoop/hive/trunk hive
* $ cd hive
* $ ant package
* $ cd build/dist
* $ ls
* README.txt
* bin/ (all the shell scripts)
* lib/ (required jar files)
* conf/ (configuration files)
* examples/ (sample input and query files)
In the rest of the page, we use build/dist and <install-dir> interchangeably.
[wiki:/EclipseSetup Instructions] to setup eclipse for hive development.
== Running Hive ==
Hive uses hadoop that means:
* you must have hadoop in your path OR
* export HADOOP_HOME=<hadoop-install-dir>
In addition, you must create /tmp and /user/hive/warehouse
(aka hive.metastore.warehouse.dir) and set them chmod g+w in
HDFS before a table can be created in Hive.
To use hive command line interface (cli) from the shell:
* $ bin/hive