<?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: Authentication error in file view access via Ambari views in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Authentication-error-in-file-view-access-via-Ambari-views/m-p/181443#M143660</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16956/gvishalg2.html" nodeid="16956"&gt;@Vishal Gupta&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you also enabled Kerberos on your Regular Ambari Server?&lt;/P&gt;&lt;P&gt;If yes then you will need to also specify the &lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.$AMBARI_PRINCIPAL.hosts =*
hadoop.proxyuser.$AMBARI_PRINCIPAL.groups=* &lt;/PRE&gt;&lt;P&gt;
&lt;BR /&gt;This can be done in HDFS Configs -&amp;gt; Advanced -&amp;gt; Custom core-site&lt;/P&gt;&lt;P&gt;Please refer to the following doc for more details:  &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-views/content/configuring_your_cluster_for_files_view.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-views/content/configuring_your_cluster_for_files_view.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.ambari-server_democluster.groups=*
hadoop.proxyuser.ambari-server_democluster.hosts=*

Assuming that "ambari-server_democluster" is your ambari srver principal name.
If you have configured Ambari Server for Kerberos, be sure to modify this property name for the primary Kerberos principal user. &lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can also take a look at the other HCC threads like: &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/131550/ambari-views-fail-after-kerberos-enabled.html" target="_blank"&gt;https://community.hortonworks.com/questions/131550/ambari-views-fail-after-kerberos-enabled.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/7502/configuring-ambari-views-for-active-directory-user.html" target="_blank"&gt;https://community.hortonworks.com/questions/7502/configuring-ambari-views-for-active-directory-user.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2017 11:59:59 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-11-06T11:59:59Z</dc:date>
    <item>
      <title>Authentication error in file view access via Ambari views</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Authentication-error-in-file-view-access-via-Ambari-views/m-p/181442#M143659</link>
      <description>&lt;P&gt;I have LDAP &amp;amp; SSL working fine on HDP2.6.0.3 cluster where we have setup a standalone instance of Ambari Views on a edge node for security reasons. Now getting an Authentication error while trying to access the 'file views' using admin user. Log don't show any specific information. &lt;/P&gt;&lt;DIV&gt;
&lt;A href="https://localhost:8081/views/FILES/1.0.0/Files_View/#/messages/1"&gt;          &lt;/A&gt;&lt;H4&gt;                                           Failed to transition to &lt;STRONG&gt;undefined&lt;/STRONG&gt;&lt;/H4&gt;
          &lt;P&gt;Authentication required&lt;/P&gt;
    
    
      

  &lt;DIV&gt;
      
      
    Failed to transition to &lt;STRONG&gt;undefined&lt;/STRONG&gt;
  &lt;P&gt;&lt;STRONG&gt;Server status:&lt;/STRONG&gt; 500&lt;/P&gt;&lt;HR /&gt;
        
&lt;P&gt;&lt;STRONG&gt;Server Message:&lt;/STRONG&gt;&lt;/P&gt;

  &lt;PRE&gt;    &lt;SMALL&gt;
      Authentication required
    &lt;/SMALL&gt;
  &lt;/PRE&gt;&lt;HR /&gt;
        
&lt;P&gt;&lt;STRONG&gt;Error trace:&lt;/STRONG&gt;&lt;/P&gt;

  &lt;PRE&gt;    &lt;SMALL&gt;
      org.apache.hadoop.security.AccessControlException: Authentication required
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:460)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.access$200(WebHdfsFileSystem.java:114)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.runWithRetry(WebHdfsFileSystem.java:750)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.access$100(WebHdfsFileSystem.java:592)
	at org.apache.hadoop.hdfs.web.W...&lt;/SMALL&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Nov 2017 11:50:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Authentication-error-in-file-view-access-via-Ambari-views/m-p/181442#M143659</guid>
      <dc:creator>gvishal</dc:creator>
      <dc:date>2017-11-06T11:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication error in file view access via Ambari views</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Authentication-error-in-file-view-access-via-Ambari-views/m-p/181443#M143660</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16956/gvishalg2.html" nodeid="16956"&gt;@Vishal Gupta&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you also enabled Kerberos on your Regular Ambari Server?&lt;/P&gt;&lt;P&gt;If yes then you will need to also specify the &lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.$AMBARI_PRINCIPAL.hosts =*
hadoop.proxyuser.$AMBARI_PRINCIPAL.groups=* &lt;/PRE&gt;&lt;P&gt;
&lt;BR /&gt;This can be done in HDFS Configs -&amp;gt; Advanced -&amp;gt; Custom core-site&lt;/P&gt;&lt;P&gt;Please refer to the following doc for more details:  &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-views/content/configuring_your_cluster_for_files_view.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-views/content/configuring_your_cluster_for_files_view.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.ambari-server_democluster.groups=*
hadoop.proxyuser.ambari-server_democluster.hosts=*

Assuming that "ambari-server_democluster" is your ambari srver principal name.
If you have configured Ambari Server for Kerberos, be sure to modify this property name for the primary Kerberos principal user. &lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can also take a look at the other HCC threads like: &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/131550/ambari-views-fail-after-kerberos-enabled.html" target="_blank"&gt;https://community.hortonworks.com/questions/131550/ambari-views-fail-after-kerberos-enabled.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/7502/configuring-ambari-views-for-active-directory-user.html" target="_blank"&gt;https://community.hortonworks.com/questions/7502/configuring-ambari-views-for-active-directory-user.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 11:59:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Authentication-error-in-file-view-access-via-Ambari-views/m-p/181443#M143660</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-06T11:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication error in file view access via Ambari views</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Authentication-error-in-file-view-access-via-Ambari-views/m-p/181444#M143661</link>
      <description>&lt;P&gt;Thanks Jay. Everything is working now. Yes, the Regular Ambari has kerberos enabled. The links in the last message has been helpful. All the settings were correct except Authentication Method was set wrongly as SIMPLE. After changing the setting to Kerberos and adding the principle it started working. Also the keytabs on the standalone host was missing. Added the kebtab and kinit of prinicipal everything is fine. Thank you for prompt help. &lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 13:32:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Authentication-error-in-file-view-access-via-Ambari-views/m-p/181444#M143661</guid>
      <dc:creator>gvishal</dc:creator>
      <dc:date>2017-11-06T13:32:42Z</dc:date>
    </item>
  </channel>
</rss>

