当前位置:

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

访客 2024-02-18 1391 0

1.报错

FAILED:ExecutionError,returncode1fromorg.apache.hadoop.hive.ql.exec.mr.MapRedTask.ORCsplitgenerationfailedwithexception:org.apache.orc.FileFormatException:MalformedORCfilefile:/opt/module/datas/video/1.txt.Invalidpostscript.

2.解决方法

要导入的表是以orc格式存储的,如果导入的不是orc格式的数据,如:txt等,就会报如上错误。

因此,可以先将txt导入到普通表中,再使用load命令从普通表到数据到事务表中。

发表评论

  • 评论列表
还没有人评论,快来抢沙发吧~