<?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 CompositeGroupsMapping in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CompositeGroupsMapping/m-p/51564#M55745</link>
    <description>&lt;P&gt;CDM shows these group mapping providers (hadoop.security.group.mapping):&lt;/P&gt;&lt;P&gt;- jniBasedUnixGroupsMapping&lt;/P&gt;&lt;P&gt;- ShellBasedUnixGroupsMapping&lt;/P&gt;&lt;P&gt;- LdapGroupsMapping&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In 2012 a CompositeGroupsMappings provider was created, but I don't see it in CDM (v5.7.1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to configure CDM to use the CompositeGroupsMappings provider using a safety valve?&lt;/P&gt;&lt;P&gt;- the LdapGroupsMapping should be used for regular users&lt;/P&gt;&lt;P&gt;- the ShellBasedUnixGroupsMapping should be used for system accounts, like hdfs &amp;amp; yarn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2017 14:04:36 GMT</pubDate>
    <dc:creator>jeroenr</dc:creator>
    <dc:date>2017-02-28T14:04:36Z</dc:date>
    <item>
      <title>CompositeGroupsMapping</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CompositeGroupsMapping/m-p/51564#M55745</link>
      <description>&lt;P&gt;CDM shows these group mapping providers (hadoop.security.group.mapping):&lt;/P&gt;&lt;P&gt;- jniBasedUnixGroupsMapping&lt;/P&gt;&lt;P&gt;- ShellBasedUnixGroupsMapping&lt;/P&gt;&lt;P&gt;- LdapGroupsMapping&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In 2012 a CompositeGroupsMappings provider was created, but I don't see it in CDM (v5.7.1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to configure CDM to use the CompositeGroupsMappings provider using a safety valve?&lt;/P&gt;&lt;P&gt;- the LdapGroupsMapping should be used for regular users&lt;/P&gt;&lt;P&gt;- the ShellBasedUnixGroupsMapping should be used for system accounts, like hdfs &amp;amp; yarn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 14:04:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CompositeGroupsMapping/m-p/51564#M55745</guid>
      <dc:creator>jeroenr</dc:creator>
      <dc:date>2017-02-28T14:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: CompositeGroupsMapping</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CompositeGroupsMapping/m-p/52008#M55746</link>
      <description>&lt;P&gt;The code is there and you can use it if you want it but we do not expose it in the Cloudera Manager UI. You will need to use a configuration snippet in the &lt;EM&gt;HDFS service for core-site.xml (cluster wide)&lt;/EM&gt; and add the &lt;A href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/GroupsMapping.html#Composite_Groups_Mapping" target="_self"&gt;relevant keys&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hadoop.security.group.mapping -&amp;gt; org.apache.hadoop.security.CompositeGroupsMapping
hadoop.security.group.mapping.providers -&amp;gt; ProviderName1,ProviderName2
hadoop.security.group.mapping.providers.combined -&amp;gt; true
hadoop.security.group.mapping.providers.&amp;lt;ProviderName1&amp;gt;&lt;/PRE&gt;&lt;P&gt;That should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wilfred&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 23:47:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CompositeGroupsMapping/m-p/52008#M55746</guid>
      <dc:creator>Wilfred</dc:creator>
      <dc:date>2017-03-09T23:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: CompositeGroupsMapping</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CompositeGroupsMapping/m-p/52040#M55747</link>
      <description>&lt;P&gt;the configuration works fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;only issue is that the bind user password is not redacted in the advanced configuration snippet and in clear text in the core-site.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the security guide (sensitive data redaction), v5.8.x (not documented for 5.7.x):&lt;/P&gt;&lt;P&gt;Redaction of Advanced Configuration Snippet parameters is based on detecting keywords explicitly defined as sensitive in the contents of these parameters. That is, parameters containing the keywords &lt;EM&gt;password&lt;/EM&gt;, &lt;EM&gt;key&lt;/EM&gt;, &lt;EM&gt;aws&lt;/EM&gt;, or &lt;EM&gt;secret&lt;/EM&gt;, will be redacted for users who do not have the required edit privileges&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll open a case to check how to get this working on 5.7.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 14:42:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CompositeGroupsMapping/m-p/52040#M55747</guid>
      <dc:creator>jeroenr</dc:creator>
      <dc:date>2017-03-10T14:42:05Z</dc:date>
    </item>
  </channel>
</rss>

