2021.11.26

今日学习内容:

使用元数据服务的方式访问 Hive

1)在 hive-site.xml 文件中添加如下配置信息

2)启动 metastore

[atguigu@hadoop202 hive]$ hive --service metastore

2020-04-24 16:58:08: Starting Hive Metastore Server

注意: 启动后窗口不能再操作,需打开一个新的 shell 窗口做别的操作

3)启动 hive

[atguigu@hadoop202 hive]$ bin/hive 

posted on 2021-11-26 07:44  只爱敲代码  阅读(18)  评论(0编辑  收藏  举报

导航