Skip to main content
KuldeepK
Gold ⭐️
Gold ⭐️
Nov 28, 2016 9:37 PM UTC

Authentication required 401 - after disabling kerberos

  • Oct 5, 2026 9:34 AM UTC
  • 0 replies
  • 1423 views
  • Translate All

Sometimes, after disabling Kerberos successfully, you can get below error while accessing NN or RM UIs.

9807-screen-shot-2016-11-28-at-65658-pm.png

.

Because of this, all the alerts, Ambari metrics data can be broken because JMX data won't be available to Ambari Metrics or Alerts via HTTP.

.

Resolution:

Modify below propery in core-site.xml via Ambari and restart required services.

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

Note - Most of the times issue happens because of this property being set as false after disabling Kerberos

.

Please also compare below property and see if it is correct.

hadoop.security.authentication=simple

.Issue is simple but it takes lot of time to troubleshoot. Hence posting this article to reduce someone's time 🙂

Please comment if you face any issues or need any further help on this.

Happy Hadooping!! 🙂