Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Turning on Hive transactions also requires appropriate settings for hive.compactor.initiator.on, hive.compactor.worker.threads, hive.support.concurrency, hive.enforce.bucketing, and hive.exec.dynamic.partition.mode.

hive.txn.strict.locking.mode
  • Default Value: true
  • Added In: Hive 2.2.0 with HIVE-15744

In strict mode non-ACID resources use standard R/W lock semantics, e.g. INSERT will acquire exclusive lock. In non-strict mode, for non-ACID resources, INSERT will only acquire shared lock, which allows two concurrent writes to the same partition but still lets lock manager prevent DROP TABLE etc. when the table is being written to.

hive.txn.timeout
  • Default Value: 300
  • Added In: Hive 0.13.0 with HIVE-5843

...