Hello Team,

I see that in hadoop 3.3.6, setting hadoop.http.authentication.type to
simple sets simple auth to webhdfs unlike previous verison like 3.1

I have a use case where I only want to skip spnego for web ui access and
not for webhdfs.

In HttpServer2.java, I see this

if (this.securityEnabled &&
    !this.conf.get(authFilterConfigurationPrefix + "type").
    equals(PseudoAuthenticationHandler.TYPE)) {
  server.initSpnego(conf, hostName, usernameConfKey, keytabConfKey);
}




I tried to modify this check and only check for securityEnabled like
previous Hadoop versions but it is not taking effect for webhdfs. Any idea
what may be needed more?

Thanks.

Reply via email to