出现报错:
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
Underlying cause: java.sql.SQLException : Access denied for user ‘root’@‘hadoop101’ (using password: YES)
错误原因用户xxxxx权限不足进入mysql,查询用户:
grant all on *.* to 'root'@'hadoop101' identified by '123456';
退出数据库,执行初始化,成功。