1、成功启动hive之后,想要创建表,但是却产生错误。
解决办法:
登录所安装的数据库,我这里是centos7自带的mariadb数据库,登进去之后,
1、删除hive, drop database hive;
2、重新创建hive, create database hive;
3、将字符集UTF-8修改为 latin1, alter database hive character set latin1;
备注:删除表失败也可以这样通过这一系列操作来解决。(前提各种配置文件都正确)