Created
July 16, 2019 06:46
-
-
Save pm-hwks/b98127196b22d041cbb5de24e7509a8b to your computer and use it in GitHub Desktop.
[Hivemall] Hivemall #hive #docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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