Error, return code 1 from org.apache.hadoop.hive.

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error, return code 1 from org.apache.hadoop.hive.相关的知识,希望对你有一定的参考价值。

Hive创建表格报【Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException】这个错误;

可能是字符集的原因,可以通过在mysql中将数据库的字符集改为latin1,执行以下命令: alter database hive character set latin1

接着在mysql中执行以下命令: 
drop database hive; 
create database hive; 
alter database hive character set latin1;

重启hive,查看log,问题解决了!!!


以上是关于Error, return code 1 from org.apache.hadoop.hive.的主要内容,如果未能解决你的问题,请参考以下文章

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

hive报错 Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(mes

hive中删除表的错误Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. com/mongodb/util

Hive创建表格报Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException引发的血案