Metastore 有三种部署方式
- embedded mode (Metastore 和 db 都运行在 Hive Service进程中)
- local mode (Metastore 运行在 Hive Service进程中)
- remote mode (Metastore , Hive Service, db 运行在不同的进程中)
Embedded Mode
Cloudera recommends using this mode for experimental purposes only.
Embedded mode is the default metastore deployment mode for CDH. In this mode, the metastore uses a Derby database, and both the database and the metastore service are embedded in the main HiveServer process. Both are started for you when you start the HiveServer process. This mode requires the least amount of effort to configure, but it can support only one active user at a time
and is not certified for production use.