Hive 2.1.1 MetaException(message:Version information not found in metastore. )

前端 未结 5 2324
既然无缘
既然无缘 2020-12-08 16:43

I\'m running Hadoop 2.7.3, MySQL 5.7.17 and Hive 2.1.1 on Ubuntu 16.04.

When I run ./hive, I keep getting the following warning and exception:

SLF4J:         


        
5条回答
  •  温柔的废话
    2020-12-08 16:48

    I have faced the similar issue. The issue can be solved by initializing Metastore Schema using below command for Mysql

    schematool --dbType mysql --initSchema

    this command can be used for any Metastore => replace dbType "mysql" with the "Metastrore used for hive"

    for more info--> https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool

提交回复
热议问题