hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/GettingStarted" by scruffy323
Date Wed, 18 Feb 2009 20:52:12 GMT
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 scruffy323:
http://wiki.apache.org/hadoop/Hive/GettingStarted

------------------------------------------------------------------------------
  (aka hive.metastore.warehouse.dir) and set them chmod g+w in 
  HDFS before a table can be created in Hive. 
  
- Commands
+ Commands to perform this setup
  {{{
- $HADOOP_HOME/bin/hadoop fs -mkdir /tmp
+   $ $HADOOP_HOME/bin/hadoop fs -mkdir       /tmp
- $HADOOP_HOME/bin/hadoop fs -mkdir /user/hive/warehouse
+   $ $HADOOP_HOME/bin/hadoop fs -mkdir       /user/hive/warehouse
- $HADOOP_HOME/bin/hadoop fs -chmod g+w /tmp
+   $ $HADOOP_HOME/bin/hadoop fs -chmod g+w   /tmp
- $HADOOP_HOME/bin/hadoop fs -chmod g+w  /user/hive/warehouse
+   $ $HADOOP_HOME/bin/hadoop fs -chmod g+w   /user/hive/warehouse
  }}}
  
+ I also find it useful but not necessary to set HIVE_HOME
+ {{{
+   $ export HIVE_HOME=<hive-install-dir>
+ }}}
  
  To use hive command line interface (cli) from the shell:
  {{{
-   $ bin/hive
+   $ $HIVE_HOME/bin/hive
  }}}
  
  == Using Hive ==

Mime
View raw message