You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Surendra Singh Lilhore (JIRA)" <ji...@apache.org> on 2018/12/17 08:40:00 UTC

[jira] [Updated] (HADOOP-16001) ZKDelegationTokenSecretManager should use KerberosName#getShortName to get the user name for ZK ACL

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

Surendra Singh Lilhore updated HADOOP-16001:
--------------------------------------------
    Description: 
!image-2018-12-10-17-54-33-361.png!

ZKDelegationTokenSecretManager use only first part of principal to set the znode ACL's.

We can use *{{KerberosName#getShortName()}}* method for getting the principal based upon rules configured in *{{hadoop.security.auth_to_local}}* and setting the ACL.

  was:
!image-2018-12-10-17-54-33-361.png!

ZKDelegationTokenSecretManager use only first part of principal to set the znode ACL's.

We can use *{{KerberosName#getShortName()}}* method for getting the principal based upon rules configured in *{{hadoop.security.auth_to_local}}*and setting the ACL.


> ZKDelegationTokenSecretManager should use KerberosName#getShortName to get the user name for ZK ACL
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-16001
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16001
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Shubham Dewan
>            Assignee: Shubham Dewan
>            Priority: Blocker
>         Attachments: HDFS-14136.001.patch, image-2018-12-10-17-54-33-361.png
>
>
> !image-2018-12-10-17-54-33-361.png!
> ZKDelegationTokenSecretManager use only first part of principal to set the znode ACL's.
> We can use *{{KerberosName#getShortName()}}* method for getting the principal based upon rules configured in *{{hadoop.security.auth_to_local}}* and setting the ACL.



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

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