Hive
一只_小菜鸟
一个小菜鸟
展开
-
EMR6.2 crontab设定的hive任务报错
crontab 定时执行 sh文件,而 sh文件中 为hive -f filename.sql执行时 得到报错信息:ERROR: JAVA_HOME is not set and could not be found.Unable to determine Hadoop version information.'hadoop version' returned:ERROR: JAVA_HOME is not set and could not be found.解决:在/etc/...原创 2021-01-18 16:07:24 · 232 阅读 · 0 评论 -
EMR 6.2 hive创建表执行时间过长,最后失败
EMR 6.2 hive创建表执行时间过长,最后失败,报错如下Job Commit failed with exception 'org.apache.hadoop.hive.ql.metadata.HiveException(com.amazon.ws.emr.hadoop.fs.consistency.exception.ConsistencyException解决 :关闭一致性视图修改 /usr/share/aws/emr/emrfs/conf/emrfs-site.xml 文件 将.原创 2021-01-18 16:04:05 · 578 阅读 · 2 评论 -
EMR6.2(Hive3.x)hive 创建表失败
hive字符集问题原因:含中文注释解决:# 修改字段注释字符集mysql> alter table COLUMNS_V2 modify COMMENT varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci;Query OK, 50263 rows affected (0.69 sec)# 修改表注释字符集mysql> alter table TABLE_PARAMS modify column PARAM.原创 2021-01-18 15:58:15 · 122 阅读 · 0 评论