【发布时间】:2020-01-07 23:30:23
【问题描述】:
我试图让我的外部 mysql 用作 Ambari 中的配置单元元存储。这些是我遵循的步骤
- 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
当我重新启动 hive 的 metastore 服务时,它失败并出现错误 "在 Metastore 数据库中找不到表 'DBS' 和 'Version'。
当我检查 Metastore 数据库时,它没有这些表。 如何创建这些表?
我在这里错过了什么
【问题讨论】:
标签: mysql hive azure-hdinsight ambari