<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Hive : Can we enable concurrency support without enabling ACID ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-we-enable-concurrency-support-without-enabling-ACID/m-p/194845#M68723</link>
    <description>&lt;P&gt;
	My use case is such that there are concurrent jobs which end up firing INSERT INTO queries to same table.&lt;/P&gt;&lt;P&gt;
	As such my namenode logs are getting filled with HDFS StateChange WARN logs.&lt;/P&gt;&lt;P&gt;
	I do not want to enable ACID as it does not support External Tables.&lt;/P&gt;&lt;P&gt;
	Can we only enable concurrency support by setting following properties while still keeping ACID disabled ?&lt;/P&gt;&lt;PRE&gt;hive.support.concurrency = true
hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
hive.enforce.bucketing = true
hive.exec.dynamic.partition.mode =  nonstrict&lt;/PRE&gt;&lt;P&gt;The default/current values are &lt;/P&gt;&lt;PRE&gt;hive.support.concurrency = false
hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager
hive.enforce.bucketing = true
hive.exec.dynamic.partition.mode = nonstrict&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 Sep 2017 10:02:59 GMT</pubDate>
    <dc:creator>dineshc</dc:creator>
    <dc:date>2017-09-29T10:02:59Z</dc:date>
    <item>
      <title>Hive : Can we enable concurrency support without enabling ACID ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-we-enable-concurrency-support-without-enabling-ACID/m-p/194845#M68723</link>
      <description>&lt;P&gt;
	My use case is such that there are concurrent jobs which end up firing INSERT INTO queries to same table.&lt;/P&gt;&lt;P&gt;
	As such my namenode logs are getting filled with HDFS StateChange WARN logs.&lt;/P&gt;&lt;P&gt;
	I do not want to enable ACID as it does not support External Tables.&lt;/P&gt;&lt;P&gt;
	Can we only enable concurrency support by setting following properties while still keeping ACID disabled ?&lt;/P&gt;&lt;PRE&gt;hive.support.concurrency = true
hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
hive.enforce.bucketing = true
hive.exec.dynamic.partition.mode =  nonstrict&lt;/PRE&gt;&lt;P&gt;The default/current values are &lt;/P&gt;&lt;PRE&gt;hive.support.concurrency = false
hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager
hive.enforce.bucketing = true
hive.exec.dynamic.partition.mode = nonstrict&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Sep 2017 10:02:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-we-enable-concurrency-support-without-enabling-ACID/m-p/194845#M68723</guid>
      <dc:creator>dineshc</dc:creator>
      <dc:date>2017-09-29T10:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hive : Can we enable concurrency support without enabling ACID ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-we-enable-concurrency-support-without-enabling-ACID/m-p/194846#M68724</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5019/ssubhas.html" nodeid="5019"&gt;@Sindhu&lt;/A&gt; - Would you be able to help with this ? TIA&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 10:03:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-we-enable-concurrency-support-without-enabling-ACID/m-p/194846#M68724</guid>
      <dc:creator>dineshc</dc:creator>
      <dc:date>2017-09-29T10:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hive : Can we enable concurrency support without enabling ACID ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-we-enable-concurrency-support-without-enabling-ACID/m-p/194847#M68725</link>
      <description>&lt;OL&gt;
&lt;LI&gt;hive.support.concurrency =true&lt;/LI&gt;&lt;LI&gt;hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager&lt;/LI&gt;&lt;LI&gt;hive.lock.manager=org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;will install a lock manager (there are several; ZooKeeper based is the default) w/o enabling full Acid.&lt;/P&gt;&lt;P&gt;If you do use &lt;/P&gt;&lt;P&gt;hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager then hive.lock.manager is ignored and you will be using Metastore based lock manager that is used by Acid but if you don't create your tables with "transactional=true" all your tables remain the same.  I believe external tables should be locked in this case.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 23:07:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-we-enable-concurrency-support-without-enabling-ACID/m-p/194847#M68725</guid>
      <dc:creator>ekoifman</dc:creator>
      <dc:date>2017-09-29T23:07:59Z</dc:date>
    </item>
  </channel>
</rss>

