繁体   English   中英

带有外部mysql的配置单元metastore不起作用

[英]hive metastore with external mysql does not work

我试图将我的外部mysql用作Ambari中的配置单元metastore。 这些是我遵循的步骤

- Started a HDInsight in Azure
- create a mysql database
- create a database 'metastore' and a user 'hive' in mysql
- source 'Ambari-DDL-AzureDB-CREATE.sql' to create schema in metastore db
- changed the mysql connection in hive config using Amabri UI
- Tested the mysql connection and it was connected

当我重新启动配置单元的metastore服务时,它失败,并显示错误“在metastore数据库中找不到表'DBS'和'Version'。

当我检查Metastore数据库时,它没有这些表。 如何创建这些表?

我在这里想念什么

它使用配置单元schematool起作用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM