版权声明:https://blog.csdn.net/lvtula https://blog.csdn.net/lvtula/article/details/82885074
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:javax.jdo.JDODataStoreException: An exception was thrown while adding/validating class(es) : Specified key was too long; max key length is 767 bytes
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes --------------------- 本文来自 keljony 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/keljony/article/details/43371995?utm_source=copy
解决办法:
mysql > alter database hive character set latin1;
再在Hive里创建表已经ok了