hive部署完成后,运行bin/hive命令进入hive的客户端,执行show databases;时出错:
hive> show databases;
FAILED: Error in metadata: javax.jdo.JDOFatalInternalException: Unexpected exception caught.
NestedThrowables:
java.lang.reflect.InvocationTargetException
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
错误解决办法:将hadoop_home路径下的build目录移除,然后再启动hive