<?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 doesn't recognize HDFS and Hive in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-doesn-t-recognize-HDFS-and-Hive/m-p/284173#M211059</link>
    <description>&lt;P&gt;Thanks for the answers. I don't use Kerberos. Adding the services manually to Ranger worked out. It can connect successfully. I don't know why it didn't add the services automatically to Ranger. Anyway my problem is solved.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2019 11:26:02 GMT</pubDate>
    <dc:creator>Caranthir</dc:creator>
    <dc:date>2019-11-27T11:26:02Z</dc:date>
    <item>
      <title>Ranger doesn't recognize HDFS and Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-doesn-t-recognize-HDFS-and-Hive/m-p/283973#M210927</link>
      <description>&lt;P&gt;I am trying to use Ranger for Authorization with Hive and HDFS. But somehow Ranger doesn't recognize Hive or HDFS. I don't see the default policies in Ranger for Hive and HDFS. I activated the Ranger Plugins for Hive and HDFS and checked the Advanced ranger-hive-plugin-properties and Advanced ranger-hdfs-plugin-properties. For me everything seems fine, but the services don't appear in Ranger. I also activated Ranger as authorization method for Hive. But that also didn't help&lt;BR /&gt;This is how my configuration looks:&lt;BR /&gt;Ranger Services:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ranger Services.JPG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25464i54A9E5C6BE1DE827/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ranger Services.JPG" alt="Ranger Services.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ranger Plugins:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ranger plugin conf.JPG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25465iA89CC7CE9B75B32F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ranger plugin conf.JPG" alt="Ranger plugin conf.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Advanced ranger-hdfs-plugin-properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="advanced hdfs plugin.JPG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25466i73342F5A48073CE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="advanced hdfs plugin.JPG" alt="advanced hdfs plugin.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Advanced ranger-hive-plugin-properties&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="advanced hive plugin.JPG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25467i950EEDD924C2314E/image-size/large?v=v2&amp;amp;px=999" role="button" title="advanced hive plugin.JPG" alt="advanced hive plugin.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing here? I would be happy about hints!&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 13:38:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-doesn-t-recognize-HDFS-and-Hive/m-p/283973#M210927</guid>
      <dc:creator>Caranthir</dc:creator>
      <dc:date>2019-11-25T13:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger doesn't recognize HDFS and Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-doesn-t-recognize-HDFS-and-Hive/m-p/284012#M210954</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71637"&gt;@Caranthir&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came across this have you seen this document &lt;A href="https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/installing-ranger/content/ranger_plugins_kerberos_hdfs.html" target="_blank" rel="noopener"&gt;additional Ranger Plugin Configuration Steps for Kerberos Clusters&lt;/A&gt; if you are running HDP 3.1.4 on the same page you will also find some specific configs for hive.&lt;/P&gt;&lt;P&gt;You will need to create a Kerberos principal and the below values are different with your screenshot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="HDFS Plugin.PNG" style="width: 572px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25476i846A2F356B6EF2C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="HDFS Plugin.PNG" alt="HDFS Plugin.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Values to Change&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp;Ranger service config user &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Ranger service config password&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;For hive&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="HIVE Plugin.PNG" style="width: 540px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25475i04ED444C611877A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="HIVE Plugin.PNG" alt="HIVE Plugin.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The above steps are for &lt;A href="https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/installing-ranger/content/ranger_plugins_kerberos_hive.html" target="_blank" rel="noopener"&gt;HDP 3.1.4&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 22:35:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-doesn-t-recognize-HDFS-and-Hive/m-p/284012#M210954</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-11-25T22:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger doesn't recognize HDFS and Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-doesn-t-recognize-HDFS-and-Hive/m-p/284026#M210963</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71637"&gt;@Caranthir&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Can you try disabling and enabling the plugin again ? While you enable the plugin it adds/modifies below properties -&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img1.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25478iE05246820D42A120/image-size/medium?v=v2&amp;amp;px=400" role="button" title="img1.png" alt="img1.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Can you check if those properties are set properly after you enable ranger plugin for hdfs again?&lt;/LI&gt;&lt;LI&gt;Also as already mentioned by &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt; the repository config user must be configured if you are working in kerberized environment.&lt;/LI&gt;&lt;LI&gt;If still you are not able to see the repository in Ranger UI then you can click on add symbol as shown below to add repository manually -&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25479i66CCAA18691858AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="img2.PNG" alt="img2.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;You can specify details of namenode and other and "test connection"&lt;/LI&gt;&lt;LI&gt;Monitor the logs of ranger and namenode while you test connection. If connection fails you can see errors in logs.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please post for further updates.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 03:54:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-doesn-t-recognize-HDFS-and-Hive/m-p/284026#M210963</guid>
      <dc:creator>sagarshimpi</dc:creator>
      <dc:date>2019-11-26T03:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger doesn't recognize HDFS and Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-doesn-t-recognize-HDFS-and-Hive/m-p/284173#M211059</link>
      <description>&lt;P&gt;Thanks for the answers. I don't use Kerberos. Adding the services manually to Ranger worked out. It can connect successfully. I don't know why it didn't add the services automatically to Ranger. Anyway my problem is solved.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 11:26:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-doesn-t-recognize-HDFS-and-Hive/m-p/284173#M211059</guid>
      <dc:creator>Caranthir</dc:creator>
      <dc:date>2019-11-27T11:26:02Z</dc:date>
    </item>
  </channel>
</rss>

