1. 程式人生 > >hive2.1.1安裝過程錯誤

hive2.1.1安裝過程錯誤

1、Caused by: java.sql.SQLException: Access denied for user 'hive'@'master' (using password: YES)

修改mysql使用者許可權。

2、Caused by: MetaException(message:Version information not found in metastore)

修改conf/hive-site.xml 中的 “hive.metastore.schema.verification”  值為 false

3、Caused by: MetaException(message:Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, don't forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql)

 ./schematool -initSchema -dbType mysql一句命令解決問題。