Hive - Mode (Type of Metastore)

> Database > Apache - Hive (HS|Hive Server)

1 - About

The mode of Hive refers to the type of metastore database:

  • local is an embedded database
  • and remote is a remote database
Advertising

3 - Type

3.1 - Local

Running in local mode, means that Hive will use an embedded database (ie Derby).

This mode is mainly used for unit tests because only one process can connect to the derby database at a time.

See: Embedded Metastore Database

3.2 - Remote

Remote Metastore Database. ie traditional standalone RDBMS server.

4 - Configuration

if the configuration hive.metastore.uris is:

  • empty: local mode
  • non-empty: remote mode

See Hive - Metastore

5 - Documentation / Reference

Advertising
db/hive/mode.txt · Last modified: 2018/06/30 20:32 by gerardnico