Hive MetaStore 配置

官方介绍一:https://cwiki.apache.org/confluence/display/Hive/AdminManual+MetastoreAdmin

metastore的ER图:https://issues.apache.org/jira/secure/attachment/12471108/HiveMetaStore.pdf

有两种配置方式,分别有本地和远程两种配置方法: metastore server和metastore database

非metastore相关的配置参数:参见一参见二metastore安全配置

基本的配置参数:

hive.metastore.warehouse.dir

URI of the default location for native tables

hive.metastore.local

local or remote metastore (removed as of Hive 0.10: If hive.metastore.uris is empty local mode is assumed, remote otherwise)

javax.jdo.option.ConnectionDriverName

JDBC Driver class name for the data store 

javax.jdo.option.ConnectionURL

JDBC connection string for the data store 

hive.metastore.uris(可配置多个,实现负载均衡,因为metastore无状态)

Hive connects to one of these URIs to make metadata requests to a remote Metastore (comma separated list of URIs)

 

转载于:https://my.oschina.net/sskxyz/blog/748897

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值