<?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: Hive update , delete and insert ERROR in cdh 5.4.2 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/37975#M4068</link>
    <description>&lt;P&gt;Does anyone know what are the risks if I set those values?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2016 22:50:18 GMT</pubDate>
    <dc:creator>PK12</dc:creator>
    <dc:date>2016-02-26T22:50:18Z</dc:date>
    <item>
      <title>Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/29485#M4062</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting following errorhi in cdh 5.4.2&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I followed the steps and limitations:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Following are my steps........&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. New Configuration Parameters for Transactions&lt;/P&gt;
&lt;P&gt;2. Creates Hive table with ACID support&lt;/P&gt;
&lt;P&gt;3. Load data into Hive table&lt;/P&gt;
&lt;P&gt;4. Do UPDATE,DELETE and INSERT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;set hive.support.concurrency=true;&lt;BR /&gt;set hive.enforce.bucketing=true;&lt;BR /&gt;set hive.exec.dynamic.partition.mode=nonstrict;&lt;BR /&gt;set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;&lt;BR /&gt;set hive.compactor.initiator.on=true;&lt;BR /&gt;set hive.compactor.worker.threads=2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CREATE TABLE abc1 (&lt;BR /&gt;empwork_key int,&lt;BR /&gt;empwork_id int,&lt;BR /&gt;empwork__name string,&lt;BR /&gt;empwork_email string,&lt;BR /&gt;emp_wrk_phone string,&lt;BR /&gt;CLUSTERED BY (empwork_id) into 2 buckets&lt;BR /&gt;STORED AS ORC TBLPROPERTIES ('transactional' = 'true');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-- the data is inserted from an external table which is textfile format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;INSERT INTO TABLE abc1&amp;nbsp;&lt;BR /&gt;SELECT&lt;BR /&gt;empwork_key ,&lt;BR /&gt;empwork_id ,&lt;BR /&gt;empwork_name, &amp;nbsp;&lt;BR /&gt;empwork_email ,&lt;BR /&gt;emp_wrk_phone ,&lt;BR /&gt;FROM test.abc1&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;update abc1 SET empwork_name = "Raj" where empwork_key = 70;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help if any suggestions or configuration changes needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I am setting all properties from hive shell&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 15:25:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/29485#M4062</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2020-01-02T15:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/29733#M4063</link>
      <description>Are you using the Hive CLI or Beeline+HS2 for this? Have you tried setting the properties into the configuration file instead, does that work?&lt;BR /&gt;&lt;BR /&gt;The property appears to be set correctly, but the check is failing likely cause the default session configuration is checked for the transaction manager instance, and not the query configuration.</description>
      <pubDate>Fri, 17 Jul 2015 12:01:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/29733#M4063</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-17T12:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/31808#M4064</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;the following will work:&lt;BR /&gt;&lt;BR /&gt;hive -e "set hive.auto.convert.join.noconditionaltask.size = 10000000; set hive.support.concurrency = true; set hive.enforce.bucketing = true; set hive.exec.dynamic.partition.mode = nonstrict; set hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; set hive.compactor.initiator.on = true;&lt;BR /&gt;set hive.compactor.worker.threads = 1 ; update abc1 SET empwork_name = "Raj" where empwork_key = 70;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cherif T&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2015 13:19:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/31808#M4064</guid>
      <dc:creator>ctifrani</dc:creator>
      <dc:date>2015-09-14T13:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/32551#M4065</link>
      <description>&lt;P&gt;I am using Beeline+HS2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configured the below properties at the shell level. But the script is failing with the same error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set hive.auto.convert.join.noconditionaltask.size = 10000000;&lt;BR /&gt;set hive.support.concurrency = true;&lt;BR /&gt;set hive.enforce.bucketing = true;&lt;BR /&gt;set hive.exec.dynamic.partition.mode = nonstrict;&lt;BR /&gt;set hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;&lt;BR /&gt;set hive.compactor.initiator.on = true;&lt;BR /&gt;set hive.compactor.worker.threads = 1 ;&lt;/P&gt;&lt;P&gt;UPDATE update_test SET style_code="TEST" where style_code="xxxxx";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Error while compiling statement: FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations. (state=42000,code=10294)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Help is appreciated...&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2015 17:06:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/32551#M4065</guid>
      <dc:creator>surneni</dc:creator>
      <dc:date>2015-10-01T17:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/32575#M4066</link>
      <description>The transaction manager cannot be set on a per-query basis - it can be set at the HS2 config.&lt;BR /&gt;&lt;BR /&gt;Note that we do not recommend use of the transaction manager features currently: &lt;A href="http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_rn_hive_ki.html" target="_blank"&gt;http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_rn_hive_ki.html&lt;/A&gt;</description>
      <pubDate>Fri, 02 Oct 2015 06:11:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/32575#M4066</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-10-02T06:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/34763#M4067</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also set the values as below, but I used the hive-site.xml Snippet in the Cloudera Manager (5.4.8). After I restarted the cluster&amp;nbsp;I also checked the hive-site.xml in the directory "/run/cloudera-scm-agent/process/" and found the entries as well (so everything seems to be fine).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it is still not possible to delete table entries in Hive, I still get the error message (as mentioned above):&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hive.auto.convert.join.noconditionaltask.size = 10000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hive.support.concurrency = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hive.enforce.bucketing = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hive.exec.dynamic.partition.mode = nonstrict;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hive.compactor.initiator.on = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hive.compactor.worker.threads = 1 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I missed something but could you please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance,&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 16:57:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/34763#M4067</guid>
      <dc:creator>Matthias1987</dc:creator>
      <dc:date>2015-12-04T16:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/37975#M4068</link>
      <description>&lt;P&gt;Does anyone know what are the risks if I set those values?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 22:50:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/37975#M4068</guid>
      <dc:creator>PK12</dc:creator>
      <dc:date>2016-02-26T22:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/43553#M4069</link>
      <description>&lt;P&gt;I'm bringing this back from the dead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're getting an error when trying to delete via beeline;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;INFO  : OK
+-------------+--+
| new123.foo  |
+-------------+--+
| foo         |
+-------------+--+
1 row selected (0.106 seconds)
0: jdbc:hive2://svqxbdcn6cdh57sparkn1:10000/d&amp;gt; delete from new123 where foo='foo';
Error: Error while compiling statement: FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations. (state=42000,code=10294)
0: jdbc:hive2://svqxbdcn6cdh57sparkn1:10000/d&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This&amp;nbsp;is in CDH 5.7 in an unsecured configuration. I haven't added any of the configuration changes yet, but was looking to see if there was a definitive fix out there, or at least something that would help me understand what was happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 17:58:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/43553#M4069</guid>
      <dc:creator>rdub</dc:creator>
      <dc:date>2016-08-04T17:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/43554#M4070</link>
      <description>&lt;P&gt;With the suggested changes above I get;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;0: jdbc:hive2://svqxbdcn6cdh57sparkn1:10000/d&amp;gt; delete from new123 where foo='foo';
Error: Error while compiling statement: FAILED: SemanticException [Error 10297]: Attempt to do update or delete on table default.new123 that does not use an AcidOutputFormat or is not bucketed (state=42000,code=10297)&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:24:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/43554#M4070</guid>
      <dc:creator>rdub</dc:creator>
      <dc:date>2016-08-04T18:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/43558#M4071</link>
      <description>&lt;P&gt;I decided to try with a bucketed table and ended up with this error;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;0: jdbc:hive2://svqxbdcn6cdh57sparkn1:10000/d&amp;gt; delete from floridacities where id='30';
Error: Error while compiling statement: FAILED: SemanticException [Error 10122]: Bucketized tables do not support INSERT INTO: Table: default.floridacities (state=42000,code=10122)&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:49:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/43558#M4071</guid>
      <dc:creator>rdub</dc:creator>
      <dc:date>2016-08-04T18:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/57360#M4072</link>
      <description>&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing same error..&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-search-match-lithium"&gt;Not&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;able&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;delete&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;or&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;update&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in hive table .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;create table testTableNew(id int ,name string ) clustered by (id) into 2 buckets stored as orc TBLPROPERTIES('&lt;SPAN class="lia-search-match-lithium"&gt;transactional&lt;/SPAN&gt;'='true');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;insert into table testTableNew values('101','syri');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select * from testtablenew;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;102&lt;/TD&gt;&lt;TD&gt;syam&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;101&lt;/TD&gt;&lt;TD&gt;syri&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;101&lt;/TD&gt;&lt;TD&gt;syri&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-search-match-lithium"&gt;delete&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from testTableNew where id = '101';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;U&gt;&lt;SPAN class="lia-search-match-lithium"&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;while&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;compiling&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;statement&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;FAILED&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;SemanticException&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[&lt;SPAN class="lia-search-match-lithium"&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;10294&lt;/SPAN&gt;]:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;Attempt&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;do&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;update&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;or&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;delete&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;using&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;transaction&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;that&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;does&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;not&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;support&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;these&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;operations&lt;/SPAN&gt;.&lt;/U&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-search-match-lithium"&gt;update&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;testTableNew&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;set name = praveen&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;where id = 101;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;U&gt;&lt;SPAN class="lia-search-match-lithium"&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;while&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;compiling&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;statement&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;FAILED&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;SemanticException&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[&lt;SPAN class="lia-search-match-lithium"&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;10294&lt;/SPAN&gt;]:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;Attempt&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;do&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;update&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;or&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;delete&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;using&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;transaction&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;that&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;does&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;not&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;support&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;these&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;operations&lt;/SPAN&gt;.&lt;/U&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added few properties in hive-site.xml also :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;hive.support.concurrency&lt;BR /&gt;true&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hive.enforce.bucketing&lt;BR /&gt;true&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hive.exec.dynamic.partition.mode&lt;BR /&gt;nonstrict&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hive.txn.manager&lt;BR /&gt;org.apache.hadoop.hive.ql.lockmgr.DbTxnManager&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hive.compactor.initiator.on&lt;BR /&gt;true&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hive.compactor.worker.threads&lt;BR /&gt;2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hive.in.test&lt;BR /&gt;true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After restart the Hive service also same&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;error&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;i am facing.&lt;/P&gt;&lt;P&gt;Quick Start VM &amp;nbsp;- 5.8 and Hive version - 1.1.0.&lt;/P&gt;&lt;P&gt;Please guide me&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-search-match-lithium"&gt;to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;sort this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Syam.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 18:52:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/57360#M4072</guid>
      <dc:creator>syamsri</dc:creator>
      <dc:date>2017-07-13T18:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/66719#M4073</link>
      <description>&lt;P&gt;I get the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;insert into rhtest_db.val_test_2 values(15, 'testing');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error while compiling statement: FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values User [hive] is not authorized to perform [DECRYPT_EEK] on key with ACL name [hdfskey]!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 15:52:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/66719#M4073</guid>
      <dc:creator>Hagedorn</dc:creator>
      <dc:date>2018-04-25T15:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/69066#M4074</link>
      <description>&lt;P&gt;It's problem with hive server. Please run UPDATE or DELETE commands on a Client machine or update the&amp;nbsp;below set commands on Hive-stie.xml file.&lt;BR /&gt;&lt;BR /&gt;SET hive.support.concurrency = true;&lt;BR /&gt;SET hive.enforce.bucketing = true;&lt;BR /&gt;SET hive.exec.dynamic.partition.mode = nonstrict;&lt;BR /&gt;SET hive.txn.manager =org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;&lt;BR /&gt;SET hive.compactor.initiator.on = true;&lt;BR /&gt;SET hive.compactor.worker.threads = 1;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 20:05:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/69066#M4074</guid>
      <dc:creator>vratmuri</dc:creator>
      <dc:date>2018-06-13T20:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/88759#M4075</link>
      <description>&lt;P&gt;Turning on ACID properties in the Hive configs worked for me. I had to restart Oozie and Hive after saving the changes.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 19:45:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/88759#M4075</guid>
      <dc:creator>georgey</dc:creator>
      <dc:date>2019-04-05T19:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/88760#M4076</link>
      <description>Turn on ACID properties in the Hive config, save changes, and restart the affected services. This worked for me.</description>
      <pubDate>Fri, 05 Apr 2019 19:51:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/88760#M4076</guid>
      <dc:creator>georgey</dc:creator>
      <dc:date>2019-04-05T19:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/88886#M4077</link>
      <description>&lt;P&gt;/etc/hive/conf and update property in hive-site.xml&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;not using these ser use xml tag .&lt;/P&gt;&lt;P&gt;SET hive.txn.manager =org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;&lt;BR /&gt;SET hive.compactor.initiator.on = true;&lt;BR /&gt;SET hive.compactor.worker.threads = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it worked for me.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 16:43:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/88886#M4077</guid>
      <dc:creator>toSarvesh</dc:creator>
      <dc:date>2019-04-09T16:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/88887#M4078</link>
      <description>&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hive.support.concurrency&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hive.txn.manager&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;org.apache.hadoop.hive.ql.lockmgr.DbTxnManager&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hive.compactor.initiator.on&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hive.compactor.worker.threads&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;1&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 16:48:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/88887#M4078</guid>
      <dc:creator>toSarvesh</dc:creator>
      <dc:date>2019-04-09T16:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hive update , delete and insert ERROR in cdh 5.4.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/286707#M212596</link>
      <description>&lt;P&gt;I was also facing same issue like you. Then I had followed these steps&amp;nbsp; and it worked for me :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;set hive.support.concurrency=true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set hive.enforce.bucketing=true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set hive.exec.dynamic.partition.mode=nonstrict;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set hive.compactor.initiator.on=true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set hive.compactor.worker.threads=2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then I changed added hive.in.test property=true in the hive-site.xml file in /usr/lib/hive location.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After that I restarted the Hive from HUE and then ran the update command and it worked for me.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 12:24:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-update-delete-and-insert-ERROR-in-cdh-5-4-2/m-p/286707#M212596</guid>
      <dc:creator>satyam29</dc:creator>
      <dc:date>2020-01-01T12:24:31Z</dc:date>
    </item>
  </channel>
</rss>

