从 hortonworks 沙箱运行时出现 Hive 错误
Posted
技术标签:
【中文标题】从 hortonworks 沙箱运行时出现 Hive 错误【英文标题】:Hive error when running from hortonworks sandbox 【发布时间】:2015-04-12 15:44:54 【问题描述】:我正在关注这个文档来测试情绪分析 - 有人可以帮助我吗 - 谢谢!!
[root@sandbox ~]# hive -f hiveddl.sql
15/04/12 15:43:23 WARN conf.HiveConf: HiveConf of name hive.optimize.mapjoin.mapreduce does not exist
15/04/12 15:43:23 WARN conf.HiveConf: HiveConf of name hive.heapsize does not exist
15/04/12 15:43:23 WARN conf.HiveConf: HiveConf of name hive.server2.enable.impersonation does not exist
15/04/12 15:43:23 WARN conf.HiveConf: HiveConf of name hive.auto.convert.sortmerge.join.noconditionaltask does not exist
Logging initialized using configuration in file:/etc/hive/conf/hive-log4j.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.0.0-2041/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.0.0-2041/hive/lib/hive-jdbc-0.14.0.2.2.0.0-2041-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Added [json-serde-1.1.6-SNAPSHOT-jar-with-dependencies.jar] to class path
Added resources: [json-serde-1.1.6-SNAPSHOT-jar-with-dependencies.jar]
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector.<init>(Lorg/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorUtils$PrimitiveTypeEntry;)V
#
【问题讨论】:
【参考方案1】:github 上已经报告并回答了这个问题:
Github issue link
【讨论】:
链接已损坏。您还有其他参考资料吗? @FlorianCastelain 我不记得 Github 上报告的问题的主题。我无法更新损坏的链接,抱歉。以上是关于从 hortonworks 沙箱运行时出现 Hive 错误的主要内容,如果未能解决你的问题,请参考以下文章
如何在Hortonworks沙箱Hadoop平台中运行mapreduce作业
如何将文件从 Windows 传输到 HortonWorks 沙箱?
在 Hortonworks 上使用 Jdbc 远程连接到 Hive 时出现 ClassNotFoundException
Hive 中的多个 SLF4J 绑定 - Hortonworks 沙箱