`
weigang.gao
  • 浏览: 467663 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

FailedPredicateException(identifier,{useSQL11ReservedKeywordsForIdentifier()}?)

 
阅读更多
 在执行hive官网的Apache Weblog Data例子的时候,
 
报错信息如下

 原因:Most likely there is a column named user. I believe in HDP 2.3, hive doesn't allow columns named keywords like date or user etc

解决方法:在user字段前面加前缀t

 

异常2:

原因:正则表达式有误

解决办法:

 
最后还需要将jar包添加到hive的执行环境中,可以使用如下命令,也可以修改配置文件hive-site.xml。
add jar /home/hive/lib/hive-contrib-1.2.1.jar

异常3:


解决办法:使用如下命令进行时间同步ntpdate time.nist.gov

 

 

 

  • 大小: 37.5 KB
  • 大小: 34.3 KB
  • 大小: 14.6 KB
  • 大小: 12 KB
  • 大小: 26.7 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics