Table of Contents

About

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

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

Type

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

Remote

Remote Metastore Database. ie traditional standalone RDBMS server.

Configuration

if the configuration hive.metastore.uris is:

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

See Hive - Metastore

Documentation / Reference