<?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: Ranger HDFS plug in error - No common protection layer between client and server in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159669#M29075</link>
    <description>&lt;P&gt;Yes, adding these properties solved the issue for HDFS plugin.&lt;/P&gt;&lt;P&gt;Now I will check rest of the plugins.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2016 15:52:01 GMT</pubDate>
    <dc:creator>pradeep_bhadani</dc:creator>
    <dc:date>2016-07-20T15:52:01Z</dc:date>
    <item>
      <title>Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159660#M29066</link>
      <description>&lt;P&gt;I have a kerberised cluster that uses AD.
I have successfully installed Ranger and synced all users/groups specified.&lt;/P&gt;&lt;P&gt;
I'm now trying to configure the HDFS plugin using this guide but it's unable to connect. 
The error on the Ranger UI is :&lt;/P&gt;&lt;PRE&gt;Connection Failed.Unable to connect repository with given config for Dagobah_hadoop
Unable to connect repository with given config for Dagobah_hadoop
&lt;/PRE&gt;&lt;P&gt;The xa_portal.log file has the following error:&lt;/P&gt;&lt;PRE&gt;2016-05-20 11:29:45,091 [timed-executor-pool-0] INFO  org.apache.ranger.plugin.client.BaseClient (BaseClient.java:100) - Init Login: using username/password
2016-05-20 11:29:45,263 [timed-executor-pool-0] WARN  org.apache.hadoop.ipc.Client$Connection$1 (Client.java:685) - Exception encountered while connecting to the server :
javax.security.sasl.SaslException: No common protection layer between client and server
&lt;/PRE&gt;&lt;P&gt;I am following this guide &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_Security_Guide/content/hdfs_plugin_kerberos.html:" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_Security_Guide/content/hdfs_plugin_kerberos.html:&lt;/A&gt;
&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Created user in AD called rangerrepouser.&lt;/LI&gt;&lt;LI&gt;Created keytab for rangerrepouser with password 1234
&lt;/LI&gt;&lt;LI&gt;Changed "Ranger repository config password" to 1234&lt;/LI&gt;&lt;LI&gt;Changed "Ranger service config user" to rangerrepouser@AD.EXAMPLE&lt;/LI&gt;&lt;LI&gt;Left common.name.for.certificate as empty ""&lt;/LI&gt;&lt;LI&gt;Left hadoop.rpc.protection as empty ""&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In the HDFS policy on Ranger Admin the RPC Protection Type is blank.&lt;/P&gt;&lt;P&gt;Any ideas as to why I am seeing this error?
Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 17:44:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159660#M29066</guid>
      <dc:creator>daleb</dc:creator>
      <dc:date>2016-05-20T17:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159661#M29067</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2322/daleb.html" nodeid="2322"&gt;@Dale Bradman&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;What is the value of hadoop.rpc.protection in your cluster/core-site.xml ? If those are different can you match it in the ranger and then try again ?
Thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 18:15:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159661#M29067</guid>
      <dc:creator>krajguru</dc:creator>
      <dc:date>2016-05-20T18:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159662#M29068</link>
      <description>&lt;P&gt;Thanks for reply &lt;A rel="user" href="https://community.cloudera.com/users/10531/krajguru.html" nodeid="10531"&gt;@krajguru&lt;/A&gt; . There is no hadoop.rpc.protection parameter in the core-site.xml. I added it to the custom configs and left it blank exactly like how it appears in the Advanced ranger-hdfs-plugin-properties file. The same error messages appear.&lt;/P&gt;&lt;P&gt;Should this value be set to anything else? Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 20:17:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159662#M29068</guid>
      <dc:creator>daleb</dc:creator>
      <dc:date>2016-05-20T20:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159663#M29069</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10531/krajguru.html" nodeid="10531"&gt;@krajguru&lt;/A&gt; So I changed the hadoop.rpc.protection parameter to "Authentication" and that removed the error message from the xa_portal.log file.&lt;/P&gt;&lt;P&gt;But it's still unable to connect. Here's the log output now:
&lt;/P&gt;&lt;PRE&gt;2016-05-20 15:20:42,373 [timed-executor-pool-0] INFO  org.apache.ranger.plugin.client.BaseClient (BaseClient.java:100) - Init Login: using username/password
2016-05-20 15:20:42,587 [timed-executor-pool-0] ERROR apache.ranger.services.hdfs.client.HdfsResourceMgr (HdfsResourceMgr.java:48) - &amp;lt;== HdfsResourceMgr.testConnection Error: org.apache.ranger.plugin.client.HadoopException: listFilesInternal: Unable to get listing of files for directory /null] from Hadoop environment [Dagobah_hadoop].
2016-05-20 15:20:42,588 [timed-executor-pool-0] ERROR org.apache.ranger.services.hdfs.RangerServiceHdfs (RangerServiceHdfs.java:59) - &amp;lt;== RangerServiceHdfs.validateConfig Error:org.apache.ranger.plugin.client.HadoopException: listFilesInternal: Unable to get listing of files for directory /null] from Hadoop environment [Dagobah_hadoop].
2016-05-20 15:20:42,588 [timed-executor-pool-0] ERROR org.apache.ranger.biz.ServiceMgr$TimedCallable (ServiceMgr.java:434) - TimedCallable.call: Error:org.apache.ranger.plugin.client.HadoopException: listFilesInternal: Unable to get listing of files for directory /null] from Hadoop environment [Dagobah_hadoop].
2016-05-20 15:20:42,589 [http-bio-6080-exec-6] ERROR org.apache.ranger.biz.ServiceMgr (ServiceMgr.java:120) - ==&amp;gt; ServiceMgr.validateConfig Error:java.util.concurrent.ExecutionException: org.apache.ranger.plugin.client.HadoopException: listFilesInternal: Unable to get listing of files for directory /null] from Hadoop environment [Dagobah_hadoop].
&lt;/PRE&gt;&lt;P&gt;Why is it looking for a /null directory?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 21:20:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159663#M29069</guid>
      <dc:creator>daleb</dc:creator>
      <dc:date>2016-05-20T21:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159664#M29070</link>
      <description>&lt;P&gt;Simple solution.... &lt;/P&gt;&lt;P&gt;On the Ranger UI in the HDFS repo configuration, the username was set to `rangerrepouser` when it should have been set to &lt;STRONG&gt;`rangerrepouser@AD.EXAMPLE`&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 15:00:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159664#M29070</guid>
      <dc:creator>daleb</dc:creator>
      <dc:date>2016-05-23T15:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159665#M29071</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2322/daleb.html"&gt;Dale Bradman&lt;/A&gt; , was you able to solve the issue?&lt;/P&gt;&lt;P&gt;I am facing the similar issue.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 19:49:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159665#M29071</guid>
      <dc:creator>pradeep_bhadani</dc:creator>
      <dc:date>2016-07-19T19:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159666#M29072</link>
      <description>&lt;P&gt;Also make sure the parameters in Ambari are correct for the plug ins, restart HDFS &amp;amp; Ranger and then make sure the parameters in Ranger UI are correct.&lt;/P&gt;&lt;P&gt;Are you using HDFS HA?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 19:57:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159666#M29072</guid>
      <dc:creator>daleb</dc:creator>
      <dc:date>2016-07-19T19:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159667#M29073</link>
      <description>&lt;P&gt;Somehow Ranger is not able to pick rangerrepouser@REALM in my case, it says user does not exist. &lt;/P&gt;&lt;P&gt;I am able to do ldapsearch for this user and kinit with the user.&lt;/P&gt;&lt;P&gt;My HDFS is HA so i am using namenode URL as hdfs://mycluster&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 21:21:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159667#M29073</guid>
      <dc:creator>pradeep_bhadani</dc:creator>
      <dc:date>2016-07-19T21:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159668#M29074</link>
      <description>&lt;P&gt;Is rangerrepouser listed in Ranger UI?&lt;/P&gt;&lt;P&gt;For HA
configuration to work, need to add the below properties in repo config (I.e.
additional entries in the advanced section). They can be copied from
hdfs-site.xml. &lt;/P&gt;&lt;PRE&gt;dfs.nameservices = &amp;lt;ha_name&amp;gt;
dfs.ha.namenodes.&amp;lt;ha_name&amp;gt; = &amp;lt;nn1,nn2&amp;gt;
dfs.namenode.rpc-address.&amp;lt;nn1&amp;gt; = &amp;lt;nn1_host:8020&amp;gt;
dfs.namenode.rpc-address.&amp;lt;nn2&amp;gt; = &amp;lt;nn2_host:8020&amp;gt;
dfs.client.failover.proxy.provider.&amp;lt;nn2&amp;gt; = org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Jul 2016 21:35:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159668#M29074</guid>
      <dc:creator>daleb</dc:creator>
      <dc:date>2016-07-19T21:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger HDFS plug in error - No common protection layer between client and server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159669#M29075</link>
      <description>&lt;P&gt;Yes, adding these properties solved the issue for HDFS plugin.&lt;/P&gt;&lt;P&gt;Now I will check rest of the plugins.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:52:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159669#M29075</guid>
      <dc:creator>pradeep_bhadani</dc:creator>
      <dc:date>2016-07-20T15:52:01Z</dc:date>
    </item>
  </channel>
</rss>

