Prerequisites
- Hadoop v2.4.0 or later
- Hive v0.13 or later
- Java 7 or later
- hivemall-all-xxx.jar
- define-all.hive (of a given version, e.g., v0.5.0)
Note
Installation
Add the following two lines to your $HOME/.hiverc
file.
add jar /home/myui/tmp/hivemall-all-xxx.jar;
source /home/myui/tmp/define-all.hive;
This automatically loads all Hivemall functions every time you start a Hive session. Alternatively, you can run the following command each time.
$ hive
add jar /tmp/hivemall-all-xxx.jar;
source /tmp/define-all.hive;
Other choices
You can also run Hivemall on the following platforms:
- Apache Spark
- Apache Pig
- Apache Hive on Docker for testing
Build from Source
$ git clone https://github.com/apache/incubator-hivemall.git
$ cd incubator-hivemall
$ bin/build.sh
Then, you can find Hivemall jars in ./target
.