Skip to main content
bvishal
Silver ⭐️⭐️⭐️
March 3, 2021
Solved

Unable to open Resource Manger UI after Kerberezing the cluster

Ambari : 2.7.4

HDP : 3.1.4.0-315

 

Hi everyone,

Recently after kerberizing my cluster, I am unable to access my Resource Manager UI. Whenever I hit on the resource manager link on Ambari, it shows up the following error :

 

 

Please help me out to resolve this issue as soon as possible.

@KuldeepK @Shelton @jsensharma 

 

Scharan
ScharanAnswer
Gold ⭐️
March 8, 2021

In HDP 3.x Spenego authentication will be enabled by default when you enable Kerberos

To access the UI you need to either configure Spnego auth in the browser OR disable spnego auth by setting the below  properties in Hdfs =>Advanced core-site

 

hadoop.http.authentication.simple.anonymous.allowed = true
hadoop.http.authentication.type = simple

 

4 replies

bvishal
bvishalAuthor
Silver ⭐️⭐️⭐️
March 3, 2021

HTTP ERROR 401
Problem accessing /ui2/. Reason:
      Unauthorized access

 

Translate
Scharan
Gold ⭐️
ScharanAnswer
Gold ⭐️
March 8, 2021

In HDP 3.x Spenego authentication will be enabled by default when you enable Kerberos

To access the UI you need to either configure Spnego auth in the browser OR disable spnego auth by setting the below  properties in Hdfs =>Advanced core-site

 

hadoop.http.authentication.simple.anonymous.allowed = true
hadoop.http.authentication.type = simple

 

Translate
bvishal
bvishalAuthor
Silver ⭐️⭐️⭐️
March 8, 2021

@Scharan thanks a lot for replying.

The solution you suggested worked! But I just wanted to know whether modifying those two properties as you mentioned will cause any decrease in the security of my HDFS or cluster anyway?

Translate