【发布时间】:2016-12-05 10:54:30
【问题描述】:
在 hive 中加载数据时,出现以下错误: "java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask"
我在 hdfs 中有一些数据,我正在尝试将这些数据加载到 hive 中。
按照我在 ambari hive cli 上运行的命令: 1- 创建表currency_new(CurrencyId int,ThreeLetterIsoCode string,Name string, Rate bigint,LastUpdate bigint, Active string);
成功创建表currency_new
2-将路径'/usr/core/currency'中的数据加载到表currency_new中; error:"java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask"
请告诉我我能做什么?
在此致谢
【问题讨论】:
-
从命令行试试
标签: hive