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 "Benoy Antony (JIRA)" <ji...@apache.org> on 2012/08/28 07:33:07 UTC

[jira] [Updated] (HADOOP-8726) The Secrets in Credentials are not available to MR tasks

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

Benoy Antony updated HADOOP-8726:
---------------------------------

    Attachment: HADOOP-8726.patch

Attaching a new patch.

TOkens and Secrets are maintained by Credentials.
Credentials object is stored in Subject.privateCredentials.

Benefits of this approach incluse 

1) The UGI class is independent of internal of Credentials class.

2) Tokens and Secrets are handled and the handling is delegated to Credentials class.

3) Relatively better performance as the UGI#getCredentials () and UGI#addToken functions do  iterate the full collection
                
> The Secrets in Credentials are not available to MR tasks
> --------------------------------------------------------
>
>                 Key: HADOOP-8726
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8726
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HADOOP-8726.patch, HADOOP-8726.patch
>
>
> Though secrets are passed in Credentials, the secrets are not available to the MR tasks.
> This issue  exists with security on/off. 
> This is related to the change in HADOOP-8225

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira