gpt4 book ai didi

hadoop - hive 0.14更新和删除查询配置错误

转载 作者:可可西里 更新时间:2023-11-01 14:45:40 26 4
gpt4 key购买 nike

在 apache hive 0.14 中,我们可以通过支持 ACID 配置来更新和删除查询:

hive.configuration:
hive.support.concurrency – true
hive.enforce.bucketing – true
hive.exec.dynamic.partition.mode – nonstrict
hive.txn.manager – org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
hive.compactor.initiator.on – true (for exactly one instance of the Thrift metastore service)
hive.compactor.worker.threads-1

但是当我使用 hiveQL show databases 时出现以下错误:

as@ubuntu:~$ hive
Logging initialized using configuration in jar:file:/home/as/hive/lib/hive-common-0.14.0.jar!/hive-log4j.properties<br>
SLF4J: Class path contains multiple SLF4J bindings.<br>
SLF4J: Found binding in [jar:file:/home/as/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]<br>
SLF4J: Found binding in [jar:file:/home/as/hive/lib/hive-jdbc-0.14.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]<br>
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.<br>
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]<br>
hive> show databases;<br>
FAILED: LockException [Error 10280]: Error communicating with the metastore<br>
hive> exit;
<br>

请帮我修正错误。

最佳答案

让我们在 hive-site.xml 中添加它:

    <property>  
<name>hive.in.test</name>
<value>true</value>
</property>

关于hadoop - hive 0.14更新和删除查询配置错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27470633/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com