赞
踩
docker run hello-world
git clone https://github.com/big-data-europe/docker-hive
cd docker-hivedocker-compose up -d
# 宿主机 : 容器端口的映射 如果冲入 自己该 conpose 文件中左侧的端口号docker ps
docker-compose exec hive-server bash
1)访问:https://dbeaver.io/download/ 点击下载并安装:
create database bigdata;CREATE TABLE IF NOT EXISTS test ( id INT,name STRING ) ROW FORMAT DELIMITED FIELDSTERMINATED BY " " LINES TERMINATED BY "\n" ;INSERT INTO test VALUES ( 1 , 'zhangsan' ) ;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。