<?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: ambari Views fail after Kerberos Enabled. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231696#M193540</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2 things to do  can you first restart the cluster and see if it persists.&lt;/P&gt;&lt;P&gt;What is the value for &lt;STRONG&gt;WebHDFS Authentication&lt;/STRONG&gt; in the views ?&lt;/P&gt;&lt;P&gt;From the stack trace the problem is due to the mapping from full Kerberos principal name to short username. This mapping is driven by the following configuration property in core-site.xml. &lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;hadoop.security.auth_to_local&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;
  &amp;lt;description&amp;gt;Maps kerberos principals to local user names&amp;lt;/description&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;Please revert&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2017 12:34:21 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2017-09-01T12:34:21Z</dc:date>
    <item>
      <title>ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231680#M193524</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I am not able to view any ambari views except Yarn after kerberos enabled. I dont have any proxy users setup and just have ambari server.&lt;/P&gt;&lt;P&gt;Any suggestions Please :&lt;/P&gt;&lt;P&gt;How to configure after kerberos enabled:&lt;/P&gt;&lt;P&gt;Hive View :&lt;/P&gt;&lt;PRE&gt;Issues detected
Service 'ats' check failed: Server ErrorService 'userhome' check failed: Authentication required
&lt;/PRE&gt;&lt;PRE&gt;Service 'userhome' check failed:
org.apache.hadoop.security.AccessControlException: Authentication required
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:457)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.access$200(WebHdfsFileSystem.java:113)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.runWithRetry(WebHdfsFileSystem.java:738)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.access$100(WebHdfsFileSystem.java:582)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner$1.run(WebHdfsFileSystem.java:612)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.run(WebHdfsFileSystem.java:608)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getHdfsFileStatus(WebHdfsFileSystem.java:987)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getFileStatus(WebHdfsFileSystem.java:1003)
	at org.apache.ambari.view.utils.hdfs.HdfsApi$3.run(HdfsApi.java:127)
	at org.apache.ambari.view.utils.hdfs.HdfsApi$3.run(HdfsApi.java:125)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)&lt;/PRE&gt;&lt;P&gt;Trace : Ambari Files View &lt;/P&gt;&lt;PRE&gt;Authentication required&lt;/PRE&gt;&lt;PRE&gt;org.apache.hadoop.security.AccessControlException: Authentication required
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:457)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.access$200(WebHdfsFileSystem.java:113)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.runWithRetry(WebHdfsFileSystem.java:738)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.access$100(WebHdfsFileSystem.java:582)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner$1.run(WebHdfsFileSystem.java:612)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Sep 2017 00:45:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231680#M193524</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2017-09-01T00:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231681#M193525</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1.You will need to create a user home for the one running the view in this case admin as root&lt;/P&gt;&lt;PRE&gt;# su - hdfs
$hdfs dfs -mkdir /user/admin
$hdfs dfs -chown admin:hdfs /user/admin&lt;/PRE&gt;&lt;P&gt;That should resolve the "'userhome' check failed: Authentication required "&lt;/P&gt;&lt;P&gt;2. For the kerberos authentication for both hive and the file, view create a new view and l&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WebHDFS Authentication = auth=KERBEROS;proxyuser=ambari-server-$cluster@REALM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To configure the views hive/files create a new view see below example&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Instance name = Test2 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Displayname =Test2 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description =Test Files or hive &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Keep all the other parameters as is and only change the WebHDFS Authentication see attached screenshot the value for proxyuser should be the values obtained in the screenshot 1 using the filter ambari-server  for hive and hdfs are identical &lt;/P&gt;&lt;P&gt;Please let me know if that helped&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8130iEE16A9A1BFE78736/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="red.png" title="red.png" /&gt;</description>
      <pubDate>Fri, 01 Sep 2017 02:36:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231681#M193525</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-01T02:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231682#M193526</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt; Thank you again.&lt;/P&gt;&lt;P&gt;After i added all your steps still i am getting same issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="34618-hive-view.jpg" style="width: 1162px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14919i026FC7A33AFDFC39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="34618-hive-view.jpg" alt="34618-hive-view.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:35:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231682#M193526</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2019-08-18T00:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231683#M193527</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;FilesView :&lt;/P&gt;&lt;P&gt;Local cluster :&lt;/P&gt;&lt;PRE&gt;org.apache.hadoop.security.AccessControlException: Authentication required
 at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:457)
 at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.access$200(WebHdfsFileSystem.java:113)
 at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.runWithRetry(WebHdfsFileSystem.java:738)
 at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.access$100(WebHdfsFileSystem.java:582)
 at org.apache.hadoop.hdfs.web.W...&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="34619-filesview.jpg" style="width: 873px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14918iBAF83011B9D45054/image-size/medium?v=v2&amp;amp;px=400" role="button" title="34619-filesview.jpg" alt="34619-filesview.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:35:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231683#M193527</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2019-08-18T00:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231684#M193528</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Whats the values of the &lt;B&gt;ambari-server&lt;/B&gt; filter for &lt;B&gt;hive&lt;/B&gt; and &lt;B&gt;hdfs &lt;/B&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HIVE &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;webhcat.proxyuser.ambari-server-xxxx.groups=*  
webhcat.proxyuser.ambari-server-xxxx.hosts=* &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;HDFS &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.hcat.groups=*  
hadoop.proxyuser.hcat.hosts=*  
hadoop.proxyuser.hdfs.groups=*  
hadoop.proxyuser.hdfs.hosts=*&lt;/PRE&gt;&lt;P&gt;Revert&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 03:54:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231684#M193528</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-01T03:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231685#M193529</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is the  version of your hive and files? &lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:14:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231685#M193529</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-01T04:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231686#M193530</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Files View : 1.0.0&lt;/P&gt;&lt;P&gt;Hive View : 1.5.0&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:18:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231686#M193530</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2017-09-01T04:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231687#M193531</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;P&gt;Eveything is *&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:22:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231687#M193531</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2017-09-01T04:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231688#M193532</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you also check this values &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you are running Ambari Server as root user then add below properties&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*&lt;/PRE&gt;&lt;P&gt;.&lt;STRONG&gt;If you are running Ambari server as non-root user then please add below properties in core-site.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.&amp;lt;ambari-server-user&amp;gt;.groups=*
hadoop.proxyuser.&amp;lt;ambari-server-user&amp;gt;.hosts=*&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Please replace &amp;lt;ambari-server-user&amp;gt; with user running Ambari Server in above example.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Your ambari server principal is &lt;A href="mailto:ambari-server@REALM.COM"&gt;ambari-server@REALM.COM&lt;/A&gt;, if not then please replace 'ambari-server' with your principal's user part.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.ambari-server.groups=*hadoop.proxyuser.ambari-server.hosts=*&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;H4&gt;We already created user directory on hdfs for the user accessing hive view admin user to access hive and hdfs view.&lt;/H4&gt;&lt;P&gt;.As hdfs user  we did already the first 2  run the last one &lt;STRONG&gt;chmod&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;$ hdfs hadoop fs -mkdir /user/admin
$ hdfs hadoop fs -chown admin:hdfs /user/admin
$ hdfs hadoop fs -chmod 755/user/admin&lt;/PRE&gt;&lt;P&gt;Revert&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:29:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231688#M193532</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-01T04:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231689#M193533</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am using as admin in ambari server.&lt;/P&gt;&lt;P&gt;After I added all these properties in Hdfs and ran again but issue is still same.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:42:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231689#M193533</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2017-09-01T04:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231690#M193534</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here we are talking of the user running the ambari processes check like below &lt;/P&gt;&lt;PRE&gt;# ls -al /etc/ambari-server/conf/&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:45:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231690#M193534</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-01T04:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231691#M193535</link>
      <description>&lt;PRE&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;/PRE&gt;&lt;PRE&gt;total 28
drwxr-xr-x 2 root root  131 Aug 29 11:49 .
drwxr-xr-x 3 root root   18 Aug  1 22:37 ..
-rwxrwxrwx 1 root root 6824 Aug 24 13:02 ambari.properties
-rwxrwxrwx 1 root root  311 Aug 29 11:49 krb5JAASLogin.conf
-rw-r--r-- 1 root root  286 Aug 29 11:49 krb5JAASLogin.conf.bak
-rwxrwxrwx 1 root root 4929 Aug  1 22:37 log4j.properties
-rw-r----- 1 root root    7 Aug  1 22:47 password.dat


&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:50:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231691#M193535</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2017-09-01T04:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231692#M193536</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then you have to use &lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=* &lt;/PRE&gt;&lt;PRE&gt;hadoop.proxyuser.ambari-server.groups=*
hadoop.proxyuser.ambari-server.hosts=*&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:54:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231692#M193536</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-01T04:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231693#M193537</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="34622-filesview.jpg" style="width: 887px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14916i9A9A03995F843847/image-size/medium?v=v2&amp;amp;px=400" role="button" title="34622-filesview.jpg" alt="34622-filesview.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="34621-hive-view.jpg" style="width: 977px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14917i918AB46C8E9529E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="34621-hive-view.jpg" alt="34621-hive-view.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:34:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231693#M193537</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2019-08-18T00:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231694#M193538</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The bold part obscured above should be part  Authentication part in the File/hive view&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.&lt;STRONG&gt;ambari-server-xxxx&lt;/STRONG&gt;.hosts&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.&lt;STRONG&gt;ambari-server-xxxx&lt;/STRONG&gt;.groups&lt;/P&gt;&lt;P&gt;In the part of the views &lt;/P&gt;&lt;P&gt;WebHDFS Authentication : auth=KERBEROS;proxyuser=&lt;STRONG&gt;ambari-server-xxxx&lt;/STRONG&gt;@&lt;STRONG&gt;REALM&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 05:13:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231694#M193538</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-01T05:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231695#M193539</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;After restartred ambari server got new issue :&lt;/P&gt;&lt;PRE&gt;Service 'hdfs' check failed:
java.lang.NullPointerException
	at org.apache.hadoop.security.authentication.util.KerberosName.getShortName(KerberosName.java:383)
	at org.apache.hadoop.security.User.&amp;lt;init&amp;gt;(User.java:48)
	at org.apache.hadoop.security.User.&amp;lt;init&amp;gt;(User.java:43)
	at org.apache.hadoop.security.UserGroupInformation.createRemoteUser(UserGroupInformation.java:1270)
	at org.apache.hadoop.security.UserGroupInformation.createRemoteUser(UserGroupInformation.java:1254)
	at org.apache.ambari.view.utils.hdfs.HdfsApi.getProxyUser(HdfsApi.java:78)
	at org.apache.ambari.view.utils.hdfs.HdfsApi.&amp;lt;init&amp;gt;(HdfsApi.java:66)
	at org.apache.ambari.view.utils.hdfs.HdfsUtil.connectToHDFSApi(HdfsUtil.java:127)
	at org.apache.ambari.view.commons.hdfs.HdfsService.hdfsSmokeTest(HdfsService.java:136)
	at org.apache.ambari.view.filebrowser.HelpService.hdfsStatus(HelpService.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Sep 2017 05:49:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231695#M193539</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2017-09-01T05:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231696#M193540</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2 things to do  can you first restart the cluster and see if it persists.&lt;/P&gt;&lt;P&gt;What is the value for &lt;STRONG&gt;WebHDFS Authentication&lt;/STRONG&gt; in the views ?&lt;/P&gt;&lt;P&gt;From the stack trace the problem is due to the mapping from full Kerberos principal name to short username. This mapping is driven by the following configuration property in core-site.xml. &lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;hadoop.security.auth_to_local&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;
  &amp;lt;description&amp;gt;Maps kerberos principals to local user names&amp;lt;/description&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;Please revert&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 12:34:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231696#M193540</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-01T12:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231697#M193541</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I don't know what is the issue. did lot of research but still issue persist.&lt;/P&gt;&lt;P&gt;Webhdfs : auth=KERBEROS;proxyuser=ambari-server-abc_bigpipeline@RELAY.COM&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 00:21:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231697#M193541</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2017-09-02T00:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231698#M193542</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/28152/sunilreddykallur.html"&gt;Sam Red&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have also been trying to understand what is wrong. What's this command's output?&lt;/P&gt;&lt;PRE&gt;# klist -kt /etc/security/keytabs/ambari.server.keytab
keytab name: FILE:/etc/security/keytabs/ambari.server.keytab
KVNO           Timestamp           Principal
---- ------------------- ------------------------------------------------------
   1 08/24/2017 15:42:24 ambari-server-abc_bigxxxline@ROMAT.COM
   1 08/24/2017 15:42:24 ambari-server-abc_bigxxxline@ROMAT.COM
   1 08/24/2017 15:42:24 ambari-server-abc_bigxxxline@ROMAT.COM
   1 08/24/2017 15:42:24 ambari-server-abc_bigxxxline@ROMAT.COM
   1 08/24/2017 15:42:24 ambari-server-abc_bigxxxline@ROMAT.COM&lt;/PRE&gt;&lt;P&gt;Then grab a valid Kerberos ticket&lt;/P&gt;&lt;PRE&gt;$ kinit -kt /etc/security/keytabs/ambari.server.keytab   ambari-server-abc_bigxxxline@ROMAT.COM&lt;/PRE&gt;&lt;P&gt;Then try accessing then retry.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 03:35:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231698#M193542</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-02T03:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: ambari Views fail after Kerberos Enabled.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231699#M193543</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank You. after lot of edits i am able to open FilesView But not Hive View.&lt;/P&gt;&lt;PRE&gt;Issues detected
Service 'hdfs' check failed: E090 NullPointerException
Service 'userhome' check failed: HdfsApi connection failed. Check "webhdfs.url" property
&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 02 Sep 2017 03:47:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-Views-fail-after-Kerberos-Enabled/m-p/231699#M193543</guid>
      <dc:creator>sunilreddykallu</dc:creator>
      <dc:date>2017-09-02T03:47:46Z</dc:date>
    </item>
  </channel>
</rss>

