问题描述
上次还是初始化很快,这次直接出错,我觉得可能是已经初始化一次的原因;
问题解决
进入到mysql里面,查看所有的database:
mysql -u root -p
show databases;
然后将metastore删除:
drop database metastore;
新建一个metastore:
create database metastore;
可以再查看一下新建完成后的databases;
再次在hive目录下进行初始化就ok啦!
- HiveMetaException initialization inconsistent Metastore metastorehivemetaexception initialization inconsistent metastore hive-metastore information metastore version found hiveserver2 hiveserver metastore对象 hive-metastore metastore方式hive metaexception metastore contains multiple metastore经典 数据 论文 横向metastore mysql hive 工作区databricks metastore external