官方介紹一: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 |
|
local or remote metastore (removed as of Hive 0.10: If |
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) |