<?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: Missing HDFS, Yarn metrics after enable kerberos HTTP authentication in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155545#M53110</link>
    <description>&lt;P&gt;Excellent, I will review the language in documentation and issue a pull request to change. Sorry for confusion.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2017 22:09:56 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2017-02-02T22:09:56Z</dc:date>
    <item>
      <title>Missing HDFS, Yarn metrics after enable kerberos HTTP authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155541#M53106</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a kerberos enabled cluster with:&lt;/P&gt;&lt;P&gt;Ambari 2.4.1&lt;/P&gt;&lt;P&gt;HDP stack 2.4.0&lt;/P&gt;&lt;P&gt;One way trust between Kerberos and AD&lt;/P&gt;&lt;P&gt;After I have enabled HTTP authentication as described at &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_Security_Guide/content/_configuring_http_authentication_for_HDFS_YARN_MapReduce2_HBase_Oozie_Falcon_and_Storm.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_Security_Guide/content/_configuring_http_authentication_for_HDFS_YARN_MapReduce2_HBase_Oozie_Falcon_and_Storm.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have lost information in ambari as shows the following images:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11939-ambari-test-mozilla-firefox.png" style="width: 1074px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20950iA6FF543434474B9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11939-ambari-test-mozilla-firefox.png" alt="11939-ambari-test-mozilla-firefox.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11940-ambari-test-mozilla-firefox-2.png" style="width: 1091px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20951iFB89DEBE8ACE3FEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11940-ambari-test-mozilla-firefox-2.png" alt="11940-ambari-test-mozilla-firefox-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11961-ambari-test-mozilla-firefox-3.png" style="width: 1099px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20952iF21FD71095EB1C4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11961-ambari-test-mozilla-firefox-3.png" alt="11961-ambari-test-mozilla-firefox-3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I check the logs of ambari-server.log I find a lot of entries with  this message:&lt;/P&gt;&lt;PRE&gt;01 Feb 2017 12:41:47,167  WARN [ambari-metrics-retrieval-service-thread-1] RequestTargetAuthentication:88 - NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Attempt to obtain new INITIATE credentials failed! (null)))
01 Feb 2017 12:41:47,169 ERROR [ambari-metrics-retrieval-service-thread-1] AppCookieManager:122 - SPNego authentication failed, can not get hadoop.auth cookie for URL: &lt;A href="http://hadoop01.int:50070/jmx?get=Hadoop:service=NameNode,name=FSNamesystem::tag.HAState" target="_blank" rel="nofollow noopener noreferrer"&gt;http://hadoop01.int:50070/jmx?get=Hadoop:service=NameNode,name=FSNamesystem::tag.HAState&lt;/A&gt;
01 Feb 2017 12:41:47,168  WARN [ambari-metrics-retrieval-service-thread-0] RequestTargetAuthentication:88 - NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Attempt to obtain new INITIATE credentials failed! (null)))
01 Feb 2017 12:41:47,170 ERROR [ambari-metrics-retrieval-service-thread-0] AppCookieManager:122 - SPNego authentication failed, can not get hadoop.auth cookie for URL: &lt;A href="http://hadoop01.int:8088/jmx" target="_blank" rel="nofollow noopener noreferrer"&gt;http://hadoop01.int:8088/jmx&lt;/A&gt;

&lt;/PRE&gt;&lt;P&gt;I have tried to regenerate the keytab but the problem persists.&lt;/P&gt;&lt;P&gt;I can access these url with my browser using both, kerberos ticket or AD windows ticket without any problem.&lt;/P&gt;&lt;P&gt;Any clue about what maybe happening?&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:27:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155541#M53106</guid>
      <dc:creator>juan_manuel_nie</dc:creator>
      <dc:date>2019-08-18T12:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Missing HDFS, Yarn metrics after enable kerberos HTTP authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155542#M53107</link>
      <description>&lt;P&gt;Did you configure Ambari for kerberos, then restart Ambari as well? &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/ch_enable_spnego_auth_for_hadoop.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/ch_enable_spnego_auth_for_hadoop.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also run service check on Ambari Metrics. I also recommend upgrading Ambari to 2.4.2 but resolve the immediate issue first.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 20:23:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155542#M53107</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-01T20:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Missing HDFS, Yarn metrics after enable kerberos HTTP authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155543#M53108</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I also have read that part.. it's supossed to be configured automatically when I used Ambari for kerberos setup...&lt;/P&gt;&lt;P&gt;And yes I've restarted ambari-server.&lt;/P&gt;&lt;P&gt;Now what I have find is that I can curl from servers using @HADOOP.INT Realm users (krb5) but cannot with @TEST.INT AD realm... but If I go to a windows machine with an user logged in TEST.INT I can access to this websites using any webbrowser.. even after remove the hadoop.auth cookie.&lt;/P&gt;&lt;P&gt;output of curl error:&lt;/P&gt;&lt;PRE&gt;[root@hadoop02 lib]# curl --negotiate -u admin:admin &amp;lt;a href="http://hadoop01.int:8088/ws/v1/cluster/info"&amp;gt;http://hadoop01.int:8088/ws/v1/cluster/info&amp;lt;/a&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/&amp;gt;
&amp;lt;title&amp;gt;Error 403 GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed)&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 403&amp;lt;/h2&amp;gt;
&amp;lt;p&amp;gt;Problem accessing /ws/v1/cluster/info. Reason:
&amp;lt;pre&amp;gt;    GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed)&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;hr /&amp;gt;&amp;lt;i&amp;gt;&amp;lt;small&amp;gt;Powered by Jetty://&amp;lt;/small&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br/&amp;gt; 
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;br/&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;


&lt;/PRE&gt;&lt;P&gt;Ambari is suppose to use @HADOOP.INT realm user..&lt;/P&gt;&lt;P&gt;edited: &lt;/P&gt;&lt;P&gt;Ambari-metrics service check went fine.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 20:54:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155543#M53108</guid>
      <dc:creator>juan_manuel_nie</dc:creator>
      <dc:date>2017-02-01T20:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Missing HDFS, Yarn metrics after enable kerberos HTTP authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155544#M53109</link>
      <description>&lt;P&gt;I finally configured ambari for kerberos manually even when documentation says that ambari performs that setup automatically and finally worked ... I had to do this optional stept &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-security/content/set_up_kerberos_for_ambari_server.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-security/content/set_up_kerberos_for_ambari_server.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like it's not optional at all. thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 19:59:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155544#M53109</guid>
      <dc:creator>juan_manuel_nie</dc:creator>
      <dc:date>2017-02-02T19:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Missing HDFS, Yarn metrics after enable kerberos HTTP authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155545#M53110</link>
      <description>&lt;P&gt;Excellent, I will review the language in documentation and issue a pull request to change. Sorry for confusion.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 22:09:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-HDFS-Yarn-metrics-after-enable-kerberos-HTTP/m-p/155545#M53110</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-02T22:09:56Z</dc:date>
    </item>
  </channel>
</rss>

