Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add two configs & jira #s in Locking section for HIVE-1293; minor edits

...

  • Default Value: false
  • Added In: Hive 0.7.0 with HIVE-1293

Whether Hive supports concurrency or not. A Zookeeper ZooKeeper instance must be up and running for the default Hive lock manager to support read-write locks.

Set to true to support INSERT ... VALUES, UPDATE, and DELETE transactions (Hive 0.14.0 and later). For a complete list of parameters required for turning on Hive transactions, see hive.txn.manager.

hive.lock.manager
  • Default Value: org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager
  • Added In: Hive 0.7.0 with HIVE-1293

The lock manager to use when hive.support.concurrency is set to true.

hive.lock.mapred.only.operation
  • Default Value: false
  • Added In: Hive 0.8.0

...

  • Default Value: 100
  • Added In: Hive 0.7.00 with HIVE-1293

The number of times you want to try to get all the locks.

...

  • Default Value: 60
  • Added In: Hive 0.7.00 with HIVE-1293

The sleep time (in seconds) between various retries.

...

  • Default Value: (empty)
  • Added In: Hive 0.7.00 with HIVE-1293

The list of Zookeeper ZooKeeper servers to talk to. This is only needed for read/write locks.

...

  • Default Value: 2181
  • Added In: Hive 0.7.00 with HIVE-1293

The port of Zookeeper ZooKeeper servers to talk to. This is only needed for read/write locks.

...

  • Default Value:
    • Hive 0.7.0 to 1.1.x: 600000ms
    • Hive 1.2.0 and later: 1200000ms (HIVE-8890)
  • Added In: Hive 0.7.00 with HIVE-1293

ZooKeeper Zookeeper client's session timeout (in milliseconds). The client is disconnected, and as a result, all locks released, if a heartbeat is not sent in the timeout.

...

The parent node under which all Zookeeper ZooKeeper nodes are created.

hive.zookeeper.clean.extra.nodes

...

Clean extra nodes at the end of the session.

hive.lockmgr.zookeeper.default.partition.name
  • Default Value: __HIVE_DEFAULT_ZOOKEEPER_PARTITION__
  • Added In: Hive 0.7.0 with HIVE-1293

C

Metrics

hive.metastore.metrics.enabled

...