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一句命令解决问题。