Hive MetaStore 配置

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

metastore的ER圖:https://issues.apache.org/jira/secure/attachment/12471108/HiveMetaStore.pdfapache

有兩種配置方式,分別有本地和遠程兩種配置方法: metastore server和metastore database安全

非metastore相關的配置參數:參見一參見二metastore安全配置負載均衡

基本的配置參數:code

hive.metastore.warehouse.dirserver

URI of the default location for native tablesrem

hive.metastore.localget

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

javax.jdo.option.ConnectionDriverNamestring

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)

相關文章
相關標籤/搜索