<?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: Data not inserting in hive table (CDP) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Data-not-inserting-in-hive-table-CDP/m-p/360176#M238313</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71090"&gt;@asish&lt;/a&gt;&amp;nbsp;Thanks!!! that worked.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Dec 2022 15:51:48 GMT</pubDate>
    <dc:creator>wert_1311</dc:creator>
    <dc:date>2022-12-27T15:51:48Z</dc:date>
    <item>
      <title>Data not inserting in hive table (CDP)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-not-inserting-in-hive-table-CDP/m-p/360102#M238283</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are unable to insert data into hive table, do not see any error in hive / hive on tez logs. Upon trying to insert data it just sits and does nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0: jdbc:hive2://MY_SERVER.com:218&amp;gt; insert into test_table values(1,'aaa');
INFO  : Compiling command(queryId=hive_20221223201916_92c0b5ff-fa62-4f28-afb4-0dd88d76c2d8): insert into test_table values(1,'aaa')
INFO  : Semantic Analysis Completed (retrial = false)
INFO  : Created Hive schema: Schema(fieldSchemas:[FieldSchema(name:col1, type:int, comment:null), FieldSchema(name:col2, type:string, comment:null)], properties:null)
INFO  : Completed compiling command(queryId=hive_20221223201916_92c0b5ff-fa62-4f28-afb4-0dd88d76c2d8); Time taken: 0.371 seconds
INFO  : Executing command(queryId=hive_20221223201916_92c0b5ff-fa62-4f28-afb4-0dd88d76c2d8): insert into test_table values(1,'aaa')
INFO  : Query ID = hive_20221223201916_92c0b5ff-fa62-4f28-afb4-0dd88d76c2d8
INFO  : Total jobs = 1
INFO  : Launching Job 1 out of 1
INFO  : Starting task [Stage-1:MAPRED] in serial mode&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera Manager 7.6.1 /&amp;nbsp;Cloudera Runtime 7.1.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any assistance&amp;nbsp; in resolving this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 17:36:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-not-inserting-in-hive-table-CDP/m-p/360102#M238283</guid>
      <dc:creator>wert_1311</dc:creator>
      <dc:date>2022-12-23T17:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Data not inserting in hive table (CDP)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-not-inserting-in-hive-table-CDP/m-p/360111#M238289</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29490"&gt;@wert_1311&lt;/a&gt;&amp;nbsp;Could you please confirm if you are using ranger. If yes check the ranger audits.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would also suggest you to tail -f while inserting data to the hive server logs to get more information.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Dec 2022 04:59:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-not-inserting-in-hive-table-CDP/m-p/360111#M238289</guid>
      <dc:creator>Kartik_Agarwal</dc:creator>
      <dc:date>2022-12-24T04:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Data not inserting in hive table (CDP)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-not-inserting-in-hive-table-CDP/m-p/360115#M238293</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29490"&gt;@wert_1311&lt;/a&gt;&amp;nbsp;In CDP&amp;nbsp;&lt;STRONG&gt;hive.server2.tez.initialize.default.sessions&amp;nbsp;&lt;/STRONG&gt;is set to true by default, that means when Hiveserver2 starts then applucation master also starts. By defalt the number of AM is 1, so the parallelism does not exists,one Tez job has to wait until other is finished.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Navigate to CM ==&amp;gt; Hive on Tez ==&amp;gt; COnfigs ==&amp;gt; Safety valve for Hiveserver2 hive-site.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add&amp;nbsp;&lt;SPAN&gt;hive.server2.tez.initialize.default.sessions= false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Restart and check&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please accept as SOlution, if the action plan has worked.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Dec 2022 13:56:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-not-inserting-in-hive-table-CDP/m-p/360115#M238293</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2022-12-24T13:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data not inserting in hive table (CDP)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-not-inserting-in-hive-table-CDP/m-p/360176#M238313</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71090"&gt;@asish&lt;/a&gt;&amp;nbsp;Thanks!!! that worked.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 15:51:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-not-inserting-in-hive-table-CDP/m-p/360176#M238313</guid>
      <dc:creator>wert_1311</dc:creator>
      <dc:date>2022-12-27T15:51:48Z</dc:date>
    </item>
  </channel>
</rss>

