hadoop - 在Hive中添加表遇到HCatClient错误

标签 hadoop bigdata hortonworks-data-platform hcatalog

我在Windows 7主机上运行Hortonworks 2.2沙箱。我已经为虚拟机分配了2GB的内存。每次尝试创建表时,都会出现以下错误:

HCatClient error on create table: {"statement":"use default; create table kjdrg(a bigint, b bigint, c bigint) comment 'k' row format delimited fields terminated by ',';","error":"unable to create table: kjdrg","exec":{"stdout":"","stderr":"15/07/02 12:55:45 WARN conf.HiveConf: HiveConf of name hive.optimize.mapjoin.mapreduce does not exist\n15/07/02 12:55:45 WARN conf.HiveConf: HiveConf of name hive.heapsize does not exist\n15/07/02 12:55:45 WARN conf.HiveConf: HiveConf of name hive.server2.enable.impersonation does not exist\n15/07/02 12:55:45 WARN conf.HiveConf: HiveConf of name hive.auto.convert.sortmerge.join.noconditionaltask does not exist\nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J: 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]\nSLF4J: 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]\nSLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\nSLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]\n Command was terminated due to timeout(60000ms). See templeton.exec.timeout property","exitcode":143}} (error 500)



我该如何解决?

最佳答案

因为问题的观点如此之低,所以这对任何人都不重要,但我仍在发布最终适用于我的解决方案。
因此,问题在于通过浏览器使用Hcat会占用过多的RAM。使用PuTTY将ssh放入配置单元中,然后创建表,即可正常工作。没有代码,因为没有人参与解决问题。

是的,我!伤心

关于hadoop - 在Hive中添加表遇到HCatClient错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31185412/

相关文章:

hadoop - hadoop中的嵌套键值对

Python Pandas : Convert 2, 000,000 DataFrame 行到二进制矩阵 (pd.get_dummies()) 没有内存错误?

hadoop - Apache Nifi 无法写入 HDFS

python - PySpark (Python) : loading multiline records via SparkContext. newAPIHadoopFile

apache - 重启电脑后名称节点不启动(hadoop 2.7.3)

hadoop - Spark 1.0.2(也是 1.1.0)卡在一个分区上

hadoop - 在 Hortonworks 中安装服务的正确方法是什么?

regex - 正则表达式提取逗号分隔值?

azure - 无法将表加载到Azure Blob中存在的配置单元中

apache-spark - 在分布式 Spark 系统中嵌入句子的最有效方法是什么?