配置了hive-site.xml以后 ,启动hive报错,这是因为元数据没信息导致的,我们进入到hive/bin目录下 执行命令:./schematool -initSchema -dbType mysql 即可