<?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 2.4.1 - 401 errors on affected services WebUI after enabling SPNEGO in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132449#M43580</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13743/xfox.html" nodeid="13743"&gt;@Roman Glova&lt;/A&gt; Thanks for your answers&lt;/P&gt;&lt;P&gt;As i expected, based on your advice, my local host was not obfuscated due to port fowarding.&lt;/P&gt;&lt;P&gt;Had to (writing it out for poeple like me maybe finding this post having the same problem) :&lt;/P&gt;&lt;P&gt;Specify a public IP in th vagrant file and reload
Restart Ambari-server
Install Kerberos client as stated here : &lt;A href="https://help.ubuntu.com/lts/serverguide/kerberos.html" target="_blank"&gt;https://help.ubuntu.com/lts/serverguide/kerberos.html&lt;/A&gt;
kinit using a previously added user as add_princ on the kerberos server
klist to check the credentials have been generated
And it's magic, i could log into webui
kdestroy will destroy the credentials.&lt;/P&gt;</description>
    <pubDate>Sat, 15 Oct 2016 06:21:04 GMT</pubDate>
    <dc:creator>pro</dc:creator>
    <dc:date>2016-10-15T06:21:04Z</dc:date>
    <item>
      <title>Ambari 2.4.1 - 401 errors on affected services WebUI after enabling SPNEGO</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132443#M43574</link>
      <description />
      <pubDate>Fri, 16 Sep 2022 10:44:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132443#M43574</guid>
      <dc:creator>pro</dc:creator>
      <dc:date>2022-09-16T10:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.4.1 - 401 errors on affected services WebUI after enabling SPNEGO</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132444#M43575</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Step by step following the &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-security/content/configuring_http_authentication_for_HDFS_YARN_MapReduce2_HBase_Oozie_Falcon_and_Storm.html"&gt;documentation&lt;/A&gt;
 about enabling SPNEGO Authentication for Hadoop, i end up getting 401 
authentication errors trying to display webui of affected services 
(HDFS, YARN , MapReduce)&lt;/P&gt;&lt;H2&gt;HTTP ERROR 401&lt;/H2&gt;&lt;P&gt;Problem accessing /cluster. Reason:&lt;/P&gt;
&lt;PRE&gt;&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;Authentication required&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;It's more than obvious i made a noob mistake configuring SPNEGO or 
Kerberos. Anyway, all services are started with no alert and i am able 
to run the Spark tour in 5 seconds tutorial in Zeppelin, involving, File
 download and move on hdfs and Spark read on HDFS to count empty lines.&lt;/P&gt;&lt;P&gt;Not to say i of course double checked the configuration modifications
 i did and most of the time copy/pasted from the Ambari documentation 
after reading on external sources what was meant to do what, so ...&lt;/P&gt;&lt;P&gt;Can anyone help me getting out of trouble ?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2016 04:52:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132444#M43575</guid>
      <dc:creator>pro</dc:creator>
      <dc:date>2016-10-15T04:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.4.1 - 401 errors on affected services WebUI after enabling SPNEGO</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132445#M43576</link>
      <description>&lt;P&gt;It's normal, you turned on kerberos authentication for web UI's. To open web UI you need to have kerberos credentials! For example in linux, you need to do kinit.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2016 05:01:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132445#M43576</guid>
      <dc:creator>xfox</dc:creator>
      <dc:date>2016-10-15T05:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.4.1 - 401 errors on affected services WebUI after enabling SPNEGO</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132446#M43577</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/13743/xfox.html" nodeid="13743"&gt;@Roman Glova
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. Can you be more precise on the way of getting those credentials please ? I'm connecting the Ambari WebUi using the admin generic account; wich account do you mean kerberos is credential checking when i use the ambari quicklink to services web ui ?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/13743/xfox.html" nodeid="13743"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2016 05:18:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132446#M43577</guid>
      <dc:creator>pro</dc:creator>
      <dc:date>2016-10-15T05:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.4.1 - 401 errors on affected services WebUI after enabling SPNEGO</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132447#M43578</link>
      <description>&lt;P&gt;did you configured Local KDC &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-security/content/installing_and_configuring_the_kdc.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-security/content/installing_and_configuring_the_kdc.html&lt;/A&gt; If yes, just add user to kdc and before opening web UI, init kerberos credentials of that user:&lt;/P&gt;&lt;P&gt;to add user: kadmin.local -q "add_principal user_name"&lt;/P&gt;&lt;P&gt;to init credentials: kinit user_name  &lt;/P&gt;&lt;P&gt;then open browser&lt;/P&gt;&lt;P&gt;(works only for linux) in windows there are some problems with SPNEGO&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2016 05:26:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132447#M43578</guid>
      <dc:creator>xfox</dc:creator>
      <dc:date>2016-10-15T05:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.4.1 - 401 errors on affected services WebUI after enabling SPNEGO</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132448#M43579</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13743/xfox.html" nodeid="13743"&gt;@Roman Glova&lt;/A&gt; thanks again for your reply.&lt;/P&gt;&lt;P&gt;Tried what you suggested but it's not working. Thinking about it and trying to figure out how it works i think it's maybe due to the fact i'm using vagrant and redirecting machine localports to the host port.&lt;/P&gt;&lt;P&gt;I thought it was obfuscated to the running VM but perhaps is the WebUI waiting credentials for the active user of the hosting system neither than from the hosted (vagrant) system ? Am i true ? In this case i think i have to install kerberos client locally and do some more configuration ? Am i right ?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2016 05:44:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132448#M43579</guid>
      <dc:creator>pro</dc:creator>
      <dc:date>2016-10-15T05:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.4.1 - 401 errors on affected services WebUI after enabling SPNEGO</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132449#M43580</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13743/xfox.html" nodeid="13743"&gt;@Roman Glova&lt;/A&gt; Thanks for your answers&lt;/P&gt;&lt;P&gt;As i expected, based on your advice, my local host was not obfuscated due to port fowarding.&lt;/P&gt;&lt;P&gt;Had to (writing it out for poeple like me maybe finding this post having the same problem) :&lt;/P&gt;&lt;P&gt;Specify a public IP in th vagrant file and reload
Restart Ambari-server
Install Kerberos client as stated here : &lt;A href="https://help.ubuntu.com/lts/serverguide/kerberos.html" target="_blank"&gt;https://help.ubuntu.com/lts/serverguide/kerberos.html&lt;/A&gt;
kinit using a previously added user as add_princ on the kerberos server
klist to check the credentials have been generated
And it's magic, i could log into webui
kdestroy will destroy the credentials.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2016 06:21:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-4-1-401-errors-on-affected-services-WebUI-after/m-p/132449#M43580</guid>
      <dc:creator>pro</dc:creator>
      <dc:date>2016-10-15T06:21:04Z</dc:date>
    </item>
  </channel>
</rss>

