0

我已经用 Hive 0.13.1 版本配置了 3 节点 Spark(版本 1.4.0)集群环境。并使用./sbin/start-thriftserver.sh启动 Spark thrift 服务。

多个用户正在使用具有相同端口和不同用户名的相同 thrift 服务。

但问题是,当一个用户执行像use mytest这样的查询时。然后数据库更改会自动反映给其他用户。

4

1 回答 1

0

您是否设置了文档中提到的配置单元并发值:

https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-ConfigurationValuestoSetforINSERT,UPDATE,DELETE

Configuration Values to Set for INSERT, UPDATE, DELETE
In addition to the new parameters listed above, some existing parameters need to be set to support INSERT ... VALUES, UPDATE, and DELETE.
Configuration key
Must be set to
hive.support.concurrency    true (default is false)
hive.enforce.bucketing  true (default is false)
hive.exec.dynamic.partition.mode    nonstrict (default is strict)
于 2015-08-25T18:45:32.250 回答