出现错误
:Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)
在服务器上装好mysql并且,已经执行过hive,在服务器的hive数据库里已经存在元数据
不过内容是空的
在建表的时候出现了以下错误
Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)
之所以出现这种错误就是编码问题!
在数据库执行
ALTER DATABASE hive CHARACTER SET latin1