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 2008/12/12 00:23:47 UTC
[Hadoop Wiki] Trivial Update of "Hive/GettingStarted" by RaghothamMurthy
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 RaghothamMurthy:
http://wiki.apache.org/hadoop/Hive/GettingStarted
------------------------------------------------------------------------------
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''
@@ -54, +59 @@
* bin/hive -hiveconf x1=y1 -hiveconf x2=y2
this sets the variables x1 and x2 to y1 and y2
-
=== Error Logs ===
Hive uses log4j for logging. By default logs are not emitted to the
console by the cli. They are stored in the file: