Explain Hive Metastore?

Viewing 2 reply threads
  • Author
    Posts
    • #4808
      DataFlair TeamDataFlair Team
      Spectator

      What is a Hive Metastore?

    • #4809
      DataFlair TeamDataFlair Team
      Spectator

      Hive metastore is the central repository to the HIVE metadata. The metastore consist of 2 parts: a service and the backing store for the data. By default metastore runs on same JVM on which the HIVE services are running. It also contains a Derby database instance backed by the local file system which is called the embedded metastore configuration.
      Only one embedded metastore can access the database present on the local file system at a time. This means only there can be only one HIVE session that access the same metastore at a time. Hence in order in which multiple user can have multiple session simultaneously is to have a standalone database. This type of configuration is known as Local metastore.

    • #4811
      DataFlair TeamDataFlair Team
      Spectator

      Hive Metastore
      Basically, the central repository of Apache Hive metadata is what we call Hive Metastore. As its job, it keeps the metadata for Hive tables (like their schema and location) as well as partitions in a relational database. Moreover, by using metastore service API, it provides client access to this information.

      It has two fundamental units:

      – Service which offers metastore access to other Apache Hive services.
      – A Disk storage for the Hive metadata that is separate from HDFS storage.

      Learn more about Hive Metastore, follow the link: Hive Metastore – Different Ways to Configure HiveMetastore

Viewing 2 reply threads
  • You must be logged in to reply to this topic.