进入hive> show databases;时报错找不到metastore。初始化数据库后需要重新启动metastore;
[max@hadoop202 hive]$ hive --service metastore
2020-04-24 16:58:08: Starting Hive Metastore Server
之后在hive>中查询,修改等操作就可以执行了。
进入hive> show databases;时报错找不到metastore。初始化数据库后需要重新启动metastore;
[max@hadoop202 hive]$ hive --service metastore
2020-04-24 16:58:08: Starting Hive Metastore Server
之后在hive>中查询,修改等操作就可以执行了。