hive建表报错FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:An exception was thrown while adding/validating class(es) : Column length too big

解决办法:

把mysql里面原有的hive数据库删除重建

drop database hive; 

  create database hive;

alter database hive character set latin1;

 

posted @ 2022-10-04 18:40  zrswheart  阅读(99)  评论(0编辑  收藏  举报