`
qun715715
  • 浏览: 11598 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Hive 查询报错原因

    博客分类:
  • hive
阅读更多

环境:CDH5.3.3,Hive版本 0.13.1

执行 select * from sample_08不报错,

执行 select code from sample_08 报错如下:

写道
java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:275)
at org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:355)
at hive.HiveJdbcCli.main(HiveJdbcCli.java:50)

 经过分析最后原因,是用户名填写不对,权限不够,用户名改成hdfs成功。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics