podman运行hive

podman命令:

VOLUME_HOME=/data/volumes;
mkdir -p $VOLUME_HOME/hive;
podman run -d --name hive \
-p 10000:10000 \
-p 10002:10002 \
-e SERVICE_NAME=hiveserver2 \
-v $VOLUME_HOME/hive:/opt/hive/data/warehouse \
apache/hive:3.1.3

web控制台:

http://192.168.56.100:10002/

beeline命令行:

podman exec -it -u root hive beeline -u jdbc:hive2://127.0.0.1:10000 -n root

退出beeline命令行:

!exit
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享