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