<?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: kerberos spnego authentication not working for ambari hadoop server rest api url in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/323109#M229024</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already executed steps that you have provided in the link but still ambari services rest api url is not kerberized .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any other configuration required ? or&lt;/P&gt;&lt;P&gt;ambari services rest api url do not support kerberos authentication ?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 04:49:15 GMT</pubDate>
    <dc:creator>Nitin0858</dc:creator>
    <dc:date>2021-08-25T04:49:15Z</dc:date>
    <item>
      <title>kerberos spnego authentication not working for ambari hadoop server rest api url</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/322875#M228957</link>
      <description>&lt;P&gt;I have a hadoop server which namenode, datanode , YARN component etc are spnego kerberized and when we hit their url's on web we get as below -&lt;/P&gt;&lt;P&gt;url - http://host:50070/jmx?qry=Hadoop:*&lt;BR /&gt;here 50070 is namenode port output :&lt;/P&gt;&lt;PRE&gt;HTTP ERROR 403

Problem accessing /index.html. Reason:

    GSSException: Defective token detected (Mechanism level: GSSHeader did not &lt;/PRE&gt;&lt;P&gt;above response on web indicates that url is kerberized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to enable spnego kerberos for ambari with using command "ambari-server setup-security" and completed kerberos configuration.&lt;/P&gt;&lt;P&gt;but when hit the url of ambari services rest api then getting proper output -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;url - &lt;A href="http://host:8080/api/v1/clusters//services/HDFS" target="_blank" rel="noopener"&gt;http://host:8080/api/v1/clusters/cluster_name/services/HDFS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could see the proper output for above url on web . why both url's output is not same , it should be same if enabled kerberos .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help and thanks in advance!!!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 07:19:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/322875#M228957</guid>
      <dc:creator>Nitin0858</dc:creator>
      <dc:date>2021-08-20T07:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: kerberos spnego authentication not working for ambari hadoop server rest api url</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/322930#M228968</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/85882"&gt;@Nitin0858&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share the 2 contents so we can help with the analysis?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 10:56:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/322930#M228968</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-08-21T10:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: kerberos spnego authentication not working for ambari hadoop server rest api url</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/322971#M228983</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enabling kerberos we have to set properties as below to HDFS,YARN etc etc .&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ember-view"&gt;hadoop.security.authentication&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; kerberos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ember-view"&gt;hadoop.security.authorization&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hadoop.http.authentication.simple.anonymous.allowed&amp;nbsp; &amp;nbsp;false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;after configuring kerberos properly then when we hit the url of any component of hadoop server on browser then will get&amp;nbsp; HTTP ERROR 403 .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;REST api url pattern -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;http://host:8080/api/v1/clusters/&amp;lt;cluster_name&amp;gt;/services/&amp;lt;service_name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but when we hit the same service rest api url on browser then we could see the response on browser details are as below -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"href" : "http://host:8080/api/v1/clusters/cluster_name/services/HDFS",&lt;BR /&gt;"ServiceInfo" : {&lt;BR /&gt;"cluster_name" : "&amp;lt;cluster_name&amp;gt;",&lt;BR /&gt;"maintenance_state" : "OFF",&lt;BR /&gt;"service_name" : "HDFS",&lt;BR /&gt;"state" : "STARTED"&lt;BR /&gt;},&lt;BR /&gt;"alerts_summary" : {&lt;BR /&gt;"CRITICAL" : 0,&lt;BR /&gt;"MAINTENANCE" : 0,&lt;BR /&gt;"OK" : 26,&lt;BR /&gt;"UNKNOWN" : 1,&lt;BR /&gt;"WARNING" : 0&lt;BR /&gt;},&lt;BR /&gt;"alerts" : [&lt;/P&gt;&lt;P&gt;..........................&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;&lt;P&gt;but response should not&amp;nbsp; be display on browser if url is kerberized and we should get http error 403 .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so here we want to kerberize rest api url .&lt;/P&gt;&lt;P&gt;please help for same.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 06:37:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/322971#M228983</guid>
      <dc:creator>Nitin0858</dc:creator>
      <dc:date>2021-08-23T06:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: kerberos spnego authentication not working for ambari hadoop server rest api url</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/323098#M229021</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/85882"&gt;@Nitin0858&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Did you enable your Ambari manually&amp;nbsp; because those parameters you are referring to are set automatically when enabling through Ambari else if you did it manually as I suspect you need to perform the steps mentioned&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.cloudera.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/_optional_set_up_kerberos_for_ambari_server.html" target="_blank" rel="noopener"&gt;&lt;FONT size="4"&gt;Set Up Kerberos for Ambari Server&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;Please revert&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 21:44:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/323098#M229021</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-08-24T21:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: kerberos spnego authentication not working for ambari hadoop server rest api url</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/323109#M229024</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already executed steps that you have provided in the link but still ambari services rest api url is not kerberized .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any other configuration required ? or&lt;/P&gt;&lt;P&gt;ambari services rest api url do not support kerberos authentication ?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 04:49:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kerberos-spnego-authentication-not-working-for-ambari-hadoop/m-p/323109#M229024</guid>
      <dc:creator>Nitin0858</dc:creator>
      <dc:date>2021-08-25T04:49:15Z</dc:date>
    </item>
  </channel>
</rss>

