<?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: Where to set sentry.hive.testing.mode property? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-to-set-sentry-hive-testing-mode-property/m-p/60437#M68699</link>
    <description>&lt;P&gt;Thanks! Yes I was able to set this using the CM Hive-&amp;gt;configuration-&amp;gt;Scope Hive (Service wide). Then restart the Hive service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="header-column"&gt;&lt;DIV class="display-name"&gt;Hive Service Advanced Configuration Snippet (Safety Valve) for sentry-site.xml&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="control-and-description"&gt;&lt;DIV class="control-column-expanded"&gt;&lt;DIV&gt;&lt;DIV class="context-container"&gt;&lt;SPAN class="context-label"&gt;Hive (Service-Wide)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;DIV class="context-controls"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="context-value"&gt;&lt;DIV&gt;Name:&amp;nbsp;sentry.hive.testing.mode&lt;/DIV&gt;&lt;DIV class="list-item-table cui-add-remove-list"&gt;&lt;DIV class="input-row"&gt;&lt;DIV class="input-col"&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="input-row"&gt;&lt;DIV class="input-col input-list-label"&gt;Value: true&lt;/DIV&gt;&lt;DIV class="input-col"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="input-row"&gt;&lt;DIV class="input-col input-list-label"&gt;Description&lt;/DIV&gt;&lt;DIV class="input-col"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="input-row"&gt;&lt;DIV class="input-col"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="input-col"&gt;Final&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 28 Sep 2017 20:58:47 GMT</pubDate>
    <dc:creator>ebeb</dc:creator>
    <dc:date>2017-09-28T20:58:47Z</dc:date>
    <item>
      <title>Where to set sentry.hive.testing.mode property?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-to-set-sentry-hive-testing-mode-property/m-p/60424#M68697</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In the Cloudera 5.12.x manual it says to set the below property. Someone advised to change using Cloudera Manager. I am unable to find&amp;nbsp;sentry.hive.testing.mode in CM under Hive-&amp;gt;configuration. Also all files are generated in locations like&amp;nbsp;/var/run/cloudera-scm-agent/process/467-hive-HIVESERVER2/sentry-site.xml so this file is in multiple processes and not a single location. Where do I change this property? And why does Cloudera make their docs so confusing??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you want to override the Kerberos prerequisite for the Hive metastore, set the&amp;nbsp;&lt;/SPAN&gt;sentry.hive.testing.mode&lt;SPAN&gt;&amp;nbsp;property to&amp;nbsp;&lt;/SPAN&gt;true&lt;SPAN&gt;&amp;nbsp;to allow Sentry to work with weaker authentication mechanisms. Add the following property to the HiveServer2 and Hive metastore's&amp;nbsp;&lt;/SPAN&gt;sentry-site.xml&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;sentry.hive.testing.mode&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:18:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-to-set-sentry-hive-testing-mode-property/m-p/60424#M68697</guid>
      <dc:creator>ebeb</dc:creator>
      <dc:date>2022-09-16T12:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Where to set sentry.hive.testing.mode property?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-to-set-sentry-hive-testing-mode-property/m-p/60436#M68698</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/23837"&gt;@ebeb&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't find the&amp;nbsp;configuration by default you can use "&lt;SPAN&gt;Advanced Configuration Snippet" as follows&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also the document says "&lt;SPAN&gt;Add the following property to the HiveServer2 and Hive metastore's&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sentry-site.xml". So you can&amp;nbsp;set your property in below locations and make sure to restart the services&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. CM -&amp;gt; Hive -&amp;gt; Configuration -&amp;gt;&amp;nbsp;Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. CM -&amp;gt; Sentry -&amp;gt; Configuration -&amp;gt; Sentry Service Advanced Configuration Snippet (Safety Valve) for sentry-site.xml&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 20:44:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-to-set-sentry-hive-testing-mode-property/m-p/60436#M68698</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2017-09-28T20:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Where to set sentry.hive.testing.mode property?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-to-set-sentry-hive-testing-mode-property/m-p/60437#M68699</link>
      <description>&lt;P&gt;Thanks! Yes I was able to set this using the CM Hive-&amp;gt;configuration-&amp;gt;Scope Hive (Service wide). Then restart the Hive service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="header-column"&gt;&lt;DIV class="display-name"&gt;Hive Service Advanced Configuration Snippet (Safety Valve) for sentry-site.xml&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="control-and-description"&gt;&lt;DIV class="control-column-expanded"&gt;&lt;DIV&gt;&lt;DIV class="context-container"&gt;&lt;SPAN class="context-label"&gt;Hive (Service-Wide)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;DIV class="context-controls"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="context-value"&gt;&lt;DIV&gt;Name:&amp;nbsp;sentry.hive.testing.mode&lt;/DIV&gt;&lt;DIV class="list-item-table cui-add-remove-list"&gt;&lt;DIV class="input-row"&gt;&lt;DIV class="input-col"&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="input-row"&gt;&lt;DIV class="input-col input-list-label"&gt;Value: true&lt;/DIV&gt;&lt;DIV class="input-col"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="input-row"&gt;&lt;DIV class="input-col input-list-label"&gt;Description&lt;/DIV&gt;&lt;DIV class="input-col"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="input-row"&gt;&lt;DIV class="input-col"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="input-col"&gt;Final&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Sep 2017 20:58:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-to-set-sentry-hive-testing-mode-property/m-p/60437#M68699</guid>
      <dc:creator>ebeb</dc:creator>
      <dc:date>2017-09-28T20:58:47Z</dc:date>
    </item>
  </channel>
</rss>

