You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2019/05/09 11:30:00 UTC

[jira] [Commented] (YARN-9522) AppBlock ignores full qualified class name of PseudoAuthenticationHandler

    [ https://issues.apache.org/jira/browse/YARN-9522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836292#comment-16836292 ] 

Prabhu Joseph commented on YARN-9522:
-------------------------------------

When hadoop.http.authentication.type is set to simple, yarn ui is considered unsecured and "Kill Button" is not displayed whereas displayed with org.apache.hadoop.security.authentication.server.PseudoAuthenticationHandler 
Have tested the fix and works fine.

> AppBlock ignores full qualified class name of PseudoAuthenticationHandler
> -------------------------------------------------------------------------
>
>                 Key: YARN-9522
>                 URL: https://issues.apache.org/jira/browse/YARN-9522
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Minor
>         Attachments: YARN-9522-001.patch
>
>
> {{AuthenticationHandler}} can be either configured using fqcn or type. {{AppBlock}} checks for only the type simple and ignores the fqcn of {{PseudoAuthenticationHandler}} while checking whether ui is secured or not.
> {code}
>    * @param authHandler The short-name (or fully qualified class name) of the
>    * authentication handler.
> {code}
> *AppBlock.java*
> {code}
>     // check if UI is unsecured.
>     String httpAuth = conf.get(CommonConfigurationKeys.HADOOP_HTTP_AUTHENTICATION_TYPE);
>     this.unsecuredUI = (httpAuth != null) && httpAuth.equals("simple");
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org