Skip to content

Instantly share code, notes, and snippets.

@pm-hwks
Created July 16, 2019 06:46
Show Gist options
  • Save pm-hwks/b98127196b22d041cbb5de24e7509a8b to your computer and use it in GitHub Desktop.
Save pm-hwks/b98127196b22d041cbb5de24e7509a8b to your computer and use it in GitHub Desktop.
[Hivemall] Hivemall #hive #docker
## Deploy Hivemall to docker
docker pull hivemall/latest:20180924
docker run -p 8088:8088 -p 50070:50070 -p 19888:19888 -it hivemall/latest:20180924
## Load Iris data into hive
cd $HOME && ./bin/prepare_iris.sh
## Launch Hive
hive -S
show databases;
use iris;
show tables;
select * from iris_raw limit 5;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment