<?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 How are multiple Ranger resource based services affecting authorization ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-are-multiple-Ranger-resource-based-services-affecting/m-p/215057#M77036</link>
    <description>&lt;P&gt;One can create multiple resource based services in Ranger Service Manager, but it seems only one is active at any moment in time. True ? What determines this ? &lt;/P&gt;&lt;P&gt;E.g. I created 2 identical HDFS services: "hdfs_service1", and "hdfs_service2", both enabled. Then I create a number of policies in each.&lt;/P&gt;&lt;P&gt;Are both services active at the same time ? What determines which is active, and the policies that will be enforced ?&lt;/P&gt;&lt;P&gt;Furthermore, I can create 2 identical Tag based service: "tag1", and "tag2". Now I set the tag service of "hdfs_service1" to "tag1", and "hdfs_service2" to "tag2". Again, which one will be active ?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 08:40:38 GMT</pubDate>
    <dc:creator>hadoop2</dc:creator>
    <dc:date>2018-04-10T08:40:38Z</dc:date>
    <item>
      <title>How are multiple Ranger resource based services affecting authorization ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-are-multiple-Ranger-resource-based-services-affecting/m-p/215057#M77036</link>
      <description>&lt;P&gt;One can create multiple resource based services in Ranger Service Manager, but it seems only one is active at any moment in time. True ? What determines this ? &lt;/P&gt;&lt;P&gt;E.g. I created 2 identical HDFS services: "hdfs_service1", and "hdfs_service2", both enabled. Then I create a number of policies in each.&lt;/P&gt;&lt;P&gt;Are both services active at the same time ? What determines which is active, and the policies that will be enforced ?&lt;/P&gt;&lt;P&gt;Furthermore, I can create 2 identical Tag based service: "tag1", and "tag2". Now I set the tag service of "hdfs_service1" to "tag1", and "hdfs_service2" to "tag2". Again, which one will be active ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 08:40:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-are-multiple-Ranger-resource-based-services-affecting/m-p/215057#M77036</guid>
      <dc:creator>hadoop2</dc:creator>
      <dc:date>2018-04-10T08:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: How are multiple Ranger resource based services affecting authorization ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-are-multiple-Ranger-resource-based-services-affecting/m-p/215058#M77037</link>
      <description>&lt;P&gt;
	No answers, so I had do do more digging.&lt;/P&gt;&lt;P&gt;
	It turns out one can only have 
	&lt;STRONG&gt;ONE&lt;/STRONG&gt; HDFS (or Hive for that matter) resource based service active at one time, and the value is set in &lt;EM&gt;/etc/hadoop/conf/ranger-hdfs-security.xml&lt;/EM&gt; , key &lt;EM&gt;&lt;STRONG&gt;ranger.plugin.hdfs.service.name&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Moreover, when set through Ambari, the service name is always &lt;EM&gt;&amp;lt;cluster_name&amp;gt;&lt;/EM&gt;_hadoop (some say it's _hdfs, but I definitely see it as _hadoop in HDP 2.6.3&lt;/P&gt;&lt;P&gt;So, play as much as you want in the Ranger UI, create services, change names, that is just a a fake UI. The real work is done in the &lt;EM style="background-color: initial;"&gt;/etc/hadoop/conf/ranger-hdfs-security.xml&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thanks guys for making it so straightforward.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 03:17:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-are-multiple-Ranger-resource-based-services-affecting/m-p/215058#M77037</guid>
      <dc:creator>hadoop2</dc:creator>
      <dc:date>2018-04-11T03:17:18Z</dc:date>
    </item>
  </channel>
</rss>

