hive创建表时报错

错误信息

FAILED: 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的字符集:

结局方法

mysql> alter database hive character set latin1;

 

感谢博主博客https://blog.csdn.net/cjfeii/article/details/49363653

你可能感兴趣的:(『Ⅱ』-----随笔,『Ⅱ』程序人生)