gpt4 book ai didi

hadoop - 如何与多个用户一起使用配置单元

转载 作者:可可西里 更新时间:2023-11-01 14:21:15 27 4
gpt4 key购买 nike

我有几个用户使用同一个配置单元。

现在我希望每个用户在配置单元中都有一个私有(private)元数据。

例子:

user a call show table : a1 , a2, a3 ...

用户 b 调用 show table : b1 , b2 ,b3 ...

当然,当用户运行查询时,他们不能访问其他用户的表。

谢谢。

最佳答案

In order to make setup easy for new users, Hive's Metastore is configured to store metadata locally in an embedded Apache Derby database. Unfortunately, this configuration only allows a single user to access the Metastore at a time. Cloudera strongly encourages users to use a MySQL database instead. This section describes how to configure Hive to use a remote MySQL database, which allows Hive to support multiple users. See the Hive Metastore documentation for additional information.

有关更多详细信息,请参阅标题为'配置 Hive Metastore' 的部分 here .

关于hadoop - 如何与多个用户一起使用配置单元,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14343948/

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