hiveserver2
--启动hive的元数据服务
hive --service metastore
beeline -u jdbc:hive2://localhost:10000 -n root
--hive本地运行
set hive.exec.mode.local.auto=true;
--或者
set mapreduce.framework.name=local;
--查看建表语句
show create table 表名
hive登录设置
最新推荐文章于 2022-11-24 00:24:41 发布