hive的Specified key was too long; max key length is 767 bytes问题解决
2014-06-09 20:27
211 查看
http://blog.csdn.net/ghychina/article/details/7439376
当在hive中show table 时如果报以下错时
FAILED: Error in metadata: javax.jdo.JDODataStoreException: Error(s) were found while auto-creating/validating the datastore for classes. The errors are printed in the log, and are attached to this exception.
NestedThrowables:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
(略去 很多java 提示)
是到mysql中的hive数据库里执行 alter database hive character set latin1;改变hive元数据库的字符集,问题就可以解决!
当在hive中show table 时如果报以下错时
FAILED: Error in metadata: javax.jdo.JDODataStoreException: Error(s) were found while auto-creating/validating the datastore for classes. The errors are printed in the log, and are attached to this exception.
NestedThrowables:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
(略去 很多java 提示)
是到mysql中的hive数据库里执行 alter database hive character set latin1;改变hive元数据库的字符集,问题就可以解决!
相关文章推荐
- hive中Specified key was too long; max key length is 767 bytes问题解决
- hive的Specified key was too long; max key length is 767 bytes问题解决
- hive的Specified key was too long; max key length is 767 bytes问题解决
- hive的Specified key was too long; max key length is 767 bytes问题解决
- hive的Specified key was too long; max key length is 767 bytes问题解决
- hive的Specified key was too long; max key length is 767 bytes问题解决
- hive的Specified key was too long; max key length is 767 bytes问题解决
- hive的Specified key was too long; max key length is 767 bytes问题解决
- Hive 创建表提示"Specified key was too long; max key length is 767 bytes"解决办法
- hive执行命令Specified key was too long; max key length is 767 bytes 问题
- hive 启动 Specified key was too long; max key length is 767 bytes解决办法
- mysql建库时提示Specified key was too long max key length is 1000 bytes的问题的解决方法
- 关于Django出现Specified key was too long; max key length is 767 bytes的解决办法
- 解决Code First MySql数据库 Specified key was too long; max key length is 767 bytes异常
- Specified key was too long; max key length is 767 bytes问题
- hive shell执行命令报错:Specified key was too long; max key length is 767 bytes
- mysql建库时提示Specified key was too long max key length is 1000 bytes的问题的解决方法
- 关于MySQL字符集问题:Specified key was too long; max key length is 767 bytes
- hive建表报错:Specified key was too long; max key length is 767 bytes,hadoophive
- hive 1.1.1 Specified key was too long; max key length is 767 bytes