<?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 Re: Regarding to activate HIVE ACID transactions on the cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Regarding-to-activate-HIVE-ACID-transactions-on-the-cluster/m-p/230343#M192193</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/15981/leonardobrunoaraujo.html"&gt;@Leonardo Araujo&lt;/A&gt;, don't know if you did it.&lt;/P&gt;&lt;P&gt;About the collateral effect on 2.6.4, there is one to take in account, the Hive Acid activation change the transactional manager from :&lt;/P&gt;&lt;PRE&gt;hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager&lt;/PRE&gt;&lt;P&gt;To&lt;/P&gt;&lt;PRE&gt;hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager&lt;/PRE&gt;&lt;P&gt;The big impact is the way of Hive manage the locks even for no transactionnal tables as describe in &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-Transaction/LockManager" target="_blank"&gt;Hive documentation&lt;/A&gt; about LockManager .&lt;/P&gt;&lt;P&gt;This could dramatically increase processing times of your jobs using Hive.&lt;/P&gt;&lt;P&gt;You could use the parameter &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.txn.strict.locking.mode" target="_blank"&gt;hive.txn.strict.locking.mode&lt;/A&gt; to manage the behavior of the LockManager even if the documentation said that it is only available since Hive 2.2, use set -v to show presence of this parameter in Hive 1.2.1000 .&lt;/P&gt;&lt;P&gt;You could hit 2 bugs too :&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="https://issues.apache.org/jira/browse/HIVE-17900" target="_blank"&gt;HIVE-17900&lt;/A&gt; : Compaction of ACID table might fail if table is partitioned by more than one column &lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="https://issues.apache.org/jira/browse/HIVE-18293" target="_blank"&gt;HIVE-18293&lt;/A&gt; : Compaction of ACID table failed when using doas&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;Best regards, Eric.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2019 16:50:45 GMT</pubDate>
    <dc:creator>eric_deleforter</dc:creator>
    <dc:date>2019-08-08T16:50:45Z</dc:date>
    <item>
      <title>Regarding to activate HIVE ACID transactions on the cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Regarding-to-activate-HIVE-ACID-transactions-on-the-cluster/m-p/230340#M192190</link>
      <description>&lt;P&gt;Hi all, I need some help here.&lt;/P&gt;&lt;P&gt;Regarding to activate HIVE ACID transactions on the cluster.&lt;/P&gt;&lt;P&gt;Nowadays, we have currently 300-node hadoop cluster - HDP, version 2.6.4.&lt;/P&gt;&lt;P&gt;We've been studying possible issues, collateral effects if we apply/enable this feature globally in our cluster, our legacy hive tables (about 1700) hasn't this feature and we'd like to know if have some issue/damage when enable this on the existing hive tables.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 00:22:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Regarding-to-activate-HIVE-ACID-transactions-on-the-cluster/m-p/230340#M192190</guid>
      <dc:creator>Leo_BR</dc:creator>
      <dc:date>2018-08-23T00:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding to activate HIVE ACID transactions on the cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Regarding-to-activate-HIVE-ACID-transactions-on-the-cluster/m-p/230341#M192191</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/15981/leonardobrunoaraujo.html" nodeid="15981"&gt;@Leonardo Araujo&lt;/A&gt;. Enabling ACID will not automatically convert existing tables to transactional tables. You will need to manually (or script) new CREATE TABLE statements with the TRANSACTION property and then insert data into those tables. Be aware of existing requirement for transactional tables such as ORC format and bucketing. In HDP 3.0, all Hive managed tables are ACID by default. &lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 01:02:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Regarding-to-activate-HIVE-ACID-transactions-on-the-cluster/m-p/230341#M192191</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2018-08-23T01:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding to activate HIVE ACID transactions on the cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Regarding-to-activate-HIVE-ACID-transactions-on-the-cluster/m-p/230342#M192192</link>
      <description>&lt;P style="margin-left: 40px;"&gt;Thank you so much &lt;A rel="user" href="https://community.cloudera.com/users/186/sshaw.html" nodeid="186"&gt;@Scott Shaw&lt;/A&gt;, &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Best regards, Leo&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 23:35:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Regarding-to-activate-HIVE-ACID-transactions-on-the-cluster/m-p/230342#M192192</guid>
      <dc:creator>Leo_BR</dc:creator>
      <dc:date>2018-08-23T23:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding to activate HIVE ACID transactions on the cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Regarding-to-activate-HIVE-ACID-transactions-on-the-cluster/m-p/230343#M192193</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/15981/leonardobrunoaraujo.html"&gt;@Leonardo Araujo&lt;/A&gt;, don't know if you did it.&lt;/P&gt;&lt;P&gt;About the collateral effect on 2.6.4, there is one to take in account, the Hive Acid activation change the transactional manager from :&lt;/P&gt;&lt;PRE&gt;hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager&lt;/PRE&gt;&lt;P&gt;To&lt;/P&gt;&lt;PRE&gt;hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager&lt;/PRE&gt;&lt;P&gt;The big impact is the way of Hive manage the locks even for no transactionnal tables as describe in &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-Transaction/LockManager" target="_blank"&gt;Hive documentation&lt;/A&gt; about LockManager .&lt;/P&gt;&lt;P&gt;This could dramatically increase processing times of your jobs using Hive.&lt;/P&gt;&lt;P&gt;You could use the parameter &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.txn.strict.locking.mode" target="_blank"&gt;hive.txn.strict.locking.mode&lt;/A&gt; to manage the behavior of the LockManager even if the documentation said that it is only available since Hive 2.2, use set -v to show presence of this parameter in Hive 1.2.1000 .&lt;/P&gt;&lt;P&gt;You could hit 2 bugs too :&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="https://issues.apache.org/jira/browse/HIVE-17900" target="_blank"&gt;HIVE-17900&lt;/A&gt; : Compaction of ACID table might fail if table is partitioned by more than one column &lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="https://issues.apache.org/jira/browse/HIVE-18293" target="_blank"&gt;HIVE-18293&lt;/A&gt; : Compaction of ACID table failed when using doas&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;Best regards, Eric.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 16:50:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Regarding-to-activate-HIVE-ACID-transactions-on-the-cluster/m-p/230343#M192193</guid>
      <dc:creator>eric_deleforter</dc:creator>
      <dc:date>2019-08-08T16:50:45Z</dc:date>
    </item>
  </channel>
</rss>

