带有外部mysql的配置单元元存储不起作用
我试图将我的外部mysql用作Ambari中的hive元存储。以下是我遵循的步骤带有外部mysql的配置单元元存储不起作用,mysql,hive,azure-hdinsight,ambari,Mysql,Hive,Azure Hdinsight,Ambari,我试图将我的外部mysql用作Ambari中的hive元存储。以下是我遵循的步骤 - 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
- 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数据库时,它没有这些表。
如何创建这些表
我在这里遗漏了什么它使用hive schematool工作。你可以接受这个答案。这对其他社区成员有益。谢谢你,你可以接受它作为答案(单击答案旁边的复选标记,将其从灰色切换为填充)。太棒了。祝你有一个美好的一天。