forked from myui/hivemall
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Makoto YUI edited this page Jan 30, 2015
·
20 revisions
- Hive v0.11 or later
- hivemall-with-dependencies.jar
hivemall.jar- define-all.hive
$ hive
-- add jar /tmp/hivemall.jar; -- hivemall v0.2 or before
add jar /tmp/hivemall-with-dependencies.jar; -- hivemall v0.3 or later
source /tmp/define-all.hive;
That's all :-)
You can find a brief introduction to Hivemall in this slide.
You can avoid issuing the installation command for each session by specifing the above commands in $HOME/.hiverc as follows:
[myui@dm01 ~]$ cat ~/.hiverc
add jar /home/myui/tmp/hivemall-with-dependencies.jar;
source /home/myui/tmp/define-all.hive;
Hive CLI automatically load Hivemall's temporary UDFs for each session. Find details in Hive's manual.