在遇到 HCatClient 错误的 Hive 中添加表
Adding tables in Hive experiencing HCatClient error
我是 运行 Hortonworks 2.2 沙盒 Windows 7 主机。我已经为虚拟机分配了 2GB 的内存。每次尝试创建 table 时,我都会收到以下错误:
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 占用了太多内存。使用PuTTY ssh 进入hive,然后建表,很顺利。没有代码,因为 none 涉及解决问题。
耶,我! 悲伤
我是 运行 Hortonworks 2.2 沙盒 Windows 7 主机。我已经为虚拟机分配了 2GB 的内存。每次尝试创建 table 时,我都会收到以下错误:
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 占用了太多内存。使用PuTTY ssh 进入hive,然后建表,很顺利。没有代码,因为 none 涉及解决问题。
耶,我! 悲伤