[jira] [Commented] (HADOOP-14167) UserIdentityProvider should use short user name in DecayRpcScheduler

2017-03-24 Thread Surendra Singh Lilhore (JIRA)

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

Surendra Singh Lilhore commented on HADOOP-14167:
-

Thansk [~xyao] for review..

bq. This may cause calculation of the DecayRpcScheduler#getPriorityLevel for 
users.

I think same problem will come when two applications is using same principal. 
We should include client IP also to indentify the uniqueness of user/application

> 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/had...@hadoop.com).Volume" : 436,
> "Caller(hdfs/had...@hadoop.com).Priority" : 3,
> .
> .
>   }
> {noformat}



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

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



[jira] [Commented] (HADOOP-14167) UserIdentityProvider should use short user name in DecayRpcScheduler

2017-03-21 Thread Xiaoyu Yao (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-14167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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/had...@hadoop.com).Volume" : 436,
> "Caller(hdfs/had...@hadoop.com).Priority" : 3,
> .
> .
>   }
> {noformat}



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

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



[jira] [Commented] (HADOOP-14167) UserIdentityProvider should use short user name in DecayRpcScheduler

2017-03-20 Thread Surendra Singh Lilhore (JIRA)

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

Surendra Singh Lilhore commented on HADOOP-14167:
-

[~xyao] can you please review..

> 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/had...@hadoop.com).Volume" : 436,
> "Caller(hdfs/had...@hadoop.com).Priority" : 3,
> .
> .
>   }
> {noformat}



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

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



[jira] [Commented] (HADOOP-14167) UserIdentityProvider should use short user name in DecayRpcScheduler

2017-03-13 Thread Surendra Singh Lilhore (JIRA)

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

Surendra Singh Lilhore commented on HADOOP-14167:
-

[~chrilisf]/[~mingma] can you please review..

> 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/had...@hadoop.com).Volume" : 436,
> "Caller(hdfs/had...@hadoop.com).Priority" : 3,
> .
> .
>   }
> {noformat}



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

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