Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update hive.metastore.hbase.cache.size (HIVE-9693) and hive.metastore.hbase.cache.ttl (HIVE-17234)

...

Used to avoid all of the proxies and object copies in the metastore. Note, if this is set, you MUST use a local metastore (hive.metastore.uris must be empty) otherwise undefined and most likely undesired behavior will result.

Hive Metastore HBase

hive.metastore.hbase.cache.size
  • Default Value: 100000
  • Added In: Hive 2.0.0 with HIVE-9453

Development of an HBase metastore for Hive started in release 2.0.0 (HIVE-9452) but the work has been stopped and the code was removed from Hive in release 3.0.0 (HIVE-17234).

Many more configuration properties were created for the HBase metastore in releases 2.x.x – they are not documented here.  For a full list, see the doc note on HIVE-17234.

hive.metastore.hbase.cache.size

(This configuration property should never have been documented here, because it was removed before the initial release by HIVE-9693.)Maximum number of objects we will place in the HBase metastore cache. The objects will be divided up by types that we need to cache.

hive.metastore.hbase.cache.ttl
  • Default Value: 600s
  • Added In: Hive 2.0.0 with HIVE-9453
  • Removed In: Hive 3.0.0 with HIVE-17234

Number of seconds for stats items to live in the cache.

...