1.hive 报错:Found class jline.Terminal, but interface was expected
解决方法: mv /home/java18/hadoop/hadoop-2.6.4/share/hadoop/yarn/lib/jline-0.9.94.jar /home/java18/hadoop/hadoop-2.6.4/share/hadoop/yarn/lib/jline-0.9.94.jar.back
2.hive error : org.datanucleus.store.rdbms.exceptions.MissingTableException: Required table missing : "`VERSION`" in Catalog "" Schema "". DataNucleus requires this table to perform its persistence operations. Either your MetaData is incorrect, or you need to enable "datanucleus.autoCreateTables"
解决方法:连接mysql ;use hive ; source /home/java18/hive/scripts/metastore/upgrade/mysql/hive-schema-1.2.0.mysql.sql