<?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: How to create hive table as non-transactional, by default? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338463#M232830</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/53151"&gt;@na2_koihey11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're also using HDP 3.1 and we are able to create non-transactional tables by default by setting&amp;nbsp;&lt;SPAN&gt;hive.&lt;/SPAN&gt;&lt;SPAN&gt;default.&lt;/SPAN&gt;&lt;SPAN&gt;fileformat.&lt;/SPAN&gt;&lt;SPAN&gt;managed to TextFile.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Megh&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Mar 2022 11:41:20 GMT</pubDate>
    <dc:creator>vidanimegh</dc:creator>
    <dc:date>2022-03-11T11:41:20Z</dc:date>
    <item>
      <title>How to create hive table as non-transactional, by default?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/337895#M232697</link>
      <description>&lt;P&gt;I am using HDP hive-3.1.&lt;/P&gt;&lt;P&gt;My configuration as follows:&lt;/P&gt;&lt;P&gt;hive.support.concurrency=true;&lt;/P&gt;&lt;P&gt;hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; hive.exec.dynamic.partition.mode=nonstrict;&lt;/P&gt;&lt;P&gt;hive.compactor.initiator.on=true;&lt;/P&gt;&lt;P&gt;hive.compactor.worker.threads=2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default, transactional table is created in hive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, i want to create non-transactional table , by default. I tried to change hive.txn.manager to Dummymanager. Though after changing the configuration, hive table is created as transactional.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any suggestion to create non-transactional table, be default?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 03:24:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/337895#M232697</guid>
      <dc:creator>na2_koihey11</dc:creator>
      <dc:date>2022-03-08T03:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create hive table as non-transactional, by default?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/337985#M232722</link>
      <description>&lt;P&gt;check hive.default.fileformat and hive.default.fileformat.managed properties&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 12:49:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/337985#M232722</guid>
      <dc:creator>vidanimegh</dc:creator>
      <dc:date>2022-03-08T12:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create hive table as non-transactional, by default?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338032#M232737</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/53151"&gt;@na2_koihey11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think this is possible. At least, I couldn't find a way to revert the default behaviour.&lt;/P&gt;&lt;P&gt;The default behaviour is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Managed&lt;/STRONG&gt; tables are created as &lt;EM&gt;transactional&lt;/EM&gt; by default&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;External&lt;/STRONG&gt; table are created as &lt;EM&gt;&lt;STRONG&gt;non&lt;/STRONG&gt;-transactional&lt;/EM&gt; by default&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you want anything different from the above you have to explicitly specify the &lt;FONT face="courier new,courier"&gt;transactional&lt;/FONT&gt; property in the &lt;FONT face="courier new,courier"&gt;TBLPROPERTIES&lt;/FONT&gt; clause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;DIV&gt;&lt;I&gt;--&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;Was your question answered? Please take some time to click on "&lt;/I&gt;&lt;STRONG&gt;&lt;I&gt;Accept as Solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt;" below this post.&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Mar 2022 21:41:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338032#M232737</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-08T21:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create hive table as non-transactional, by default?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338041#M232745</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;Is there any official documentation, which states the statement as mentioned by you. I would like to study more in detail.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 01:54:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338041#M232745</guid>
      <dc:creator>na2_koihey11</dc:creator>
      <dc:date>2022-03-09T01:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create hive table as non-transactional, by default?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338042#M232746</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/53151"&gt;@na2_koihey11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, there is! Please take a look at the page below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/runtime/7.2.10/using-hiveql/topics/hive_hive_3_tables.html" target="_blank"&gt;https://docs.cloudera.com/runtime/7.2.10/using-hiveql/topics/hive_hive_3_tables.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;I&gt;--&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;Was your question answered? Please take some time to click on "&lt;/I&gt;&lt;STRONG&gt;&lt;I&gt;Accept as Solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt;" below this post.&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Mar 2022 02:15:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338042#M232746</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-09T02:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create hive table as non-transactional, by default?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338463#M232830</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/53151"&gt;@na2_koihey11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're also using HDP 3.1 and we are able to create non-transactional tables by default by setting&amp;nbsp;&lt;SPAN&gt;hive.&lt;/SPAN&gt;&lt;SPAN&gt;default.&lt;/SPAN&gt;&lt;SPAN&gt;fileformat.&lt;/SPAN&gt;&lt;SPAN&gt;managed to TextFile.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Megh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 11:41:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338463#M232830</guid>
      <dc:creator>vidanimegh</dc:creator>
      <dc:date>2022-03-11T11:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create hive table as non-transactional, by default?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338464#M232831</link>
      <description>&lt;P&gt;We've set this property in advanced hive-site section&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 11:45:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338464#M232831</guid>
      <dc:creator>vidanimegh</dc:creator>
      <dc:date>2022-03-11T11:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create hive table as non-transactional, by default?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338540#M232842</link>
      <description>&lt;P&gt;hive.default.fileformat.managed =&amp;nbsp;ORC&lt;/P&gt;&lt;P&gt;hive.default.fileformat =&amp;nbsp;TextFile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we tried to change&amp;nbsp;hive.default.fileformat.managed to TextFile, still it doesn't work.&lt;BR /&gt;Could you please check how it works for you.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 00:45:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-hive-table-as-non-transactional-by-default/m-p/338540#M232842</guid>
      <dc:creator>na2_koihey11</dc:creator>
      <dc:date>2022-03-14T00:45:11Z</dc:date>
    </item>
  </channel>
</rss>

