...
Run hive from the command line with $HIVE_HOME/bin/hive
, where {{$HIVE_HOME
is typically build/dist
under your git hive repository top-level directory, thus hive.git/.
Code Block |
---|
$ build/dist/bin/hive |
...
|
Running Hive
...
Without a Hadoop Cluster
From Thejas:
Code Block |
---|
export HIVE_OPTS='-hiveconf mapred.job.tracker=local -hiveconf fs.default.name=file:///tmp \ -hiveconf hive.metastore.warehouse.dir=file:///tmp/warehouse \ -hiveconf javax.jdo.option.ConnectionURL=jdbc:derby:;databaseName=/tmp/metastore_db;create=true' |
Then you can run build/dist/bin/hive
and it will work against your local file system.
Unit tests and debugging
Layout of the unit tests
...