[ 
https://issues.apache.org/jira/browse/HADOOP-10173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daryn Sharp updated HADOOP-10173:
---------------------------------

    Attachment: HADOOP-10173.patch

Only use {{UGI.doAs}} for kerberos, not tokens.  No tests because 
{{TestSaslRPC}} already proves the changes are sound.

> Remove UGI from DIGEST-MD5 SASL server creation
> -----------------------------------------------
>
>                 Key: HADOOP-10173
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10173
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.23.0, 3.0.0, 2.4.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>         Attachments: HADOOP-10173.patch
>
>
> Instantiation of SASL server instances within the readers threads is 
> performed within a {{UGI.getCurrentUser().doAs}}.  {{getCurrentUser}} is 
> synchronized, and doAs also degrades performance.  GSSAPI (kerberos) requires 
> instantiation within a doAs, but DIGEST-MD5 (token) does not.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to