hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14167) UserIdentityProvider should use short user name in DecayRpcScheduler
Date Tue, 21 Mar 2017 16:01:41 GMT

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

Xiaoyu Yao commented on HADOOP-14167:
-------------------------------------

Thanks [~surendrasingh] for reporting the issue and posting the patch. My only concern of
this change is the potential duplicate short user name from different host/domains combinations.
A simple one maybe hive@domainA and hive@domainB. This may cause calculation of the DecayRpcScheduler#getPriorityLevel
for users.

> UserIdentityProvider should use short user name in DecayRpcScheduler
> --------------------------------------------------------------------
>
>                 Key: HADOOP-14167
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14167
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>         Attachments: HADOOP-14167.001.patch
>
>
> In secure cluster {{UserIdentityProvider}} use principal name for user, it should use
short name of principal.
> {noformat}
>   {
>     "name" : "Hadoop:service=NameNode,name=DecayRpcSchedulerMetrics2.ipc.8020",
>      .
>      .
>      .
>     "Caller(hdfs/hadoop@HADOOP.COM).Volume" : 436,
>     "Caller(hdfs/hadoop@HADOOP.COM).Priority" : 3,
>     .
>     .
>   }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message